Force apps in "Installed" list to sort by name.

Previously they were left to be sorted however SQLite parsed the query.
This turned out to result in them beign sorted by repos first, then
names. For example, all of the GP apps would be at the bottom of the
list.

Fixes #965.
This commit is contained in:
Peter Serwylo 2017-04-25 11:08:13 +10:00
parent 96a9681fd1
commit bae5bdb1f4

View File

@ -696,6 +696,7 @@ public class AppProvider extends FDroidProvider {
case INSTALLED:
selection = selection.add(queryInstalled());
sortOrder = Cols.NAME;
includeSwap = false;
break;