mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-25 23:55:38 +00:00
Fixed an issue where the Recent collection did not work as expected.
This commit is contained in:
parent
c2c433707e
commit
377fed2b23
|
@ -406,7 +406,7 @@ void CollectionSystemsManager::updateCollectionSystem(FileData* file, Collection
|
|||
}
|
||||
|
||||
if (name == "recent") {
|
||||
rootFolder->sort(rootFolder->getSortTypeFromString("last played, descending"));
|
||||
rootFolder->sort(rootFolder->getSortTypeFromString("last played, ascending"));
|
||||
}
|
||||
else if (sysData.decl.isCustom &&
|
||||
!Settings::getInstance()->getBool("UseCustomCollectionsSystem")) {
|
||||
|
@ -1094,7 +1094,7 @@ void CollectionSystemsManager::populateAutoCollection(CollectionSystemData* sysD
|
|||
}
|
||||
}
|
||||
if (rootFolder->getName() == "recent")
|
||||
rootFolder->sort(rootFolder->getSortTypeFromString("last played, descending"));
|
||||
rootFolder->sort(rootFolder->getSortTypeFromString("last played, ascending"));
|
||||
else
|
||||
rootFolder->sort(rootFolder->getSortTypeFromString(rootFolder->getSortTypeString()),
|
||||
Settings::getInstance()->getBool("FavoritesFirst"));
|
||||
|
|
Loading…
Reference in a new issue