The "Recently Updated" sort option on wiki's Browse Pages does not work correctly. It does the query and then applies a sort afterwards. So if you have more than one page of results, it only sorts within the current page not the whole set of pages.
there aren't any tests, and I didn't add any. But you can test manualyl: create just 4 or 5 wiki pages and then go Browse Pages, then click on the sort options. Then add &limit=2 to the URL to force small page sizes to see the problem & verify the fix.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
fixed on db/8540
there aren't any tests, and I didn't add any. But you can test manualyl: create just 4 or 5 wiki pages and then go Browse Pages, then click on the sort options. Then add
&limit=2
to the URL to force small page sizes to see the problem & verify the fix.Looks good I'll merge