mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 17:45: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") {
|
if (name == "recent") {
|
||||||
rootFolder->sort(rootFolder->getSortTypeFromString("last played, descending"));
|
rootFolder->sort(rootFolder->getSortTypeFromString("last played, ascending"));
|
||||||
}
|
}
|
||||||
else if (sysData.decl.isCustom &&
|
else if (sysData.decl.isCustom &&
|
||||||
!Settings::getInstance()->getBool("UseCustomCollectionsSystem")) {
|
!Settings::getInstance()->getBool("UseCustomCollectionsSystem")) {
|
||||||
|
@ -1094,7 +1094,7 @@ void CollectionSystemsManager::populateAutoCollection(CollectionSystemData* sysD
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (rootFolder->getName() == "recent")
|
if (rootFolder->getName() == "recent")
|
||||||
rootFolder->sort(rootFolder->getSortTypeFromString("last played, descending"));
|
rootFolder->sort(rootFolder->getSortTypeFromString("last played, ascending"));
|
||||||
else
|
else
|
||||||
rootFolder->sort(rootFolder->getSortTypeFromString(rootFolder->getSortTypeString()),
|
rootFolder->sort(rootFolder->getSortTypeFromString(rootFolder->getSortTypeString()),
|
||||||
Settings::getInstance()->getBool("FavoritesFirst"));
|
Settings::getInstance()->getBool("FavoritesFirst"));
|
||||||
|
|
Loading…
Reference in a new issue