Files
FreshRSS/app
Marien Fressinaud 4058898de2 Fix categories sorting (#2616)
I had a bug when some articles in a category were unread. Sometimes,
filtering the category displayed all the articles, even with the "Adjust
showing" option.

A reasonably good guess was to look the last commits that impacted the
categories and, indeed, it was introduced by the new category sorting
system.

The sort function (`usort`) doesn't keep the index association, which is
important here. I must admit I don't understand exactly why (I didn't
search), but the keys are probably used somewhere. Another fix would be
to not rely on these keys anymore.

The bug was introduced in 042fcd5e93

- Ref PR: https://github.com/FreshRSS/FreshRSS/pull/2592
- Ref usort: https://www.php.net/manual/en/function.usort.php
- Ref uasort: https://www.php.net/manual/en/function.uasort.php
2019-10-31 12:33:18 +01:00
..
2019-10-26 13:16:15 +02:00
2017-09-22 12:13:46 +02:00
2019-10-30 20:08:48 +01:00
2019-10-26 13:16:15 +02:00
2019-10-31 12:33:18 +01:00
2019-10-23 00:52:15 +02:00
2019-10-01 18:12:21 +02:00