Summary: | App list page sort order is reversed | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Nate Graham <nate> |
Component: | discover | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | aleixpol, justin.zobel |
Priority: | NOR | Keywords: | qt6 |
Version: | master | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/discover/-/commit/d1811594d8352e8059087b9c84d224243711cc81 | Version Fixed In: | |
Attachments: | Sort order reversed |
Description
Nate Graham
2023-06-03 21:36:53 UTC
No attachment :) Created attachment 159468 [details]
Sort order reversed
Derp
Can confirm. Git commit d1811594d8352e8059087b9c84d224243711cc81 by Nate Graham, on behalf of Amy Rose. Committed on 06/10/2023 at 04:09. Pushed by ngraham into branch 'master'. ResourcesProxyModel: respect sort order Seems like the sorting done in `ResourcesProxyModel` was never considering the `Qt::SortOrder`. This commit adds an `orderedLessThan` method to sort in reverse when appropriate. M +9 -3 libdiscover/resources/ResourcesProxyModel.cpp M +1 -0 libdiscover/resources/ResourcesProxyModel.h https://invent.kde.org/plasma/discover/-/commit/d1811594d8352e8059087b9c84d224243711cc81 |