diff options
author | Tucker McKnight <tucker.mcknight@gmail.com> | 2021-02-08 23:11:33 -0700 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2021-02-22 19:44:33 +0100 |
commit | 5ba6f04bae27136430ab2a5c35c05e221538ec0c (patch) | |
tree | 31a76b675061b117ed8af863ec97cf39ed61904d /CHANGELOG.md | |
parent | 5c18b971bf8a37a549e41e21683fa00d460b2bd0 (diff) |
Fix incorrect article sorting
Currently, an article with an ID of 1000 will show up
earlier than one with ID = 900, because the IDs are being treated
as strings and compared alphabetically. (1 comes before 9, and
the comparison stops there.)
We need to parse them as integers to ensure that 900 is less than
1000.
Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r-- | CHANGELOG.md | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index c7b5cd099..c791d6534 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ The format is almost based on [Keep a Changelog](https://keepachangelog.com/en/1 ### Fixed - Item list throwing error for folder and "all items" +- Articles with high IDs can be placed lower than articles with low IDs (#1147) ## [15.3.2] - 2021-02-10 No changes compared to RC2 |