Fixed: Sorting by name in Manage Indexer and Download Client modals

(cherry picked from commit 31baed4b2c2406e48b8defa51352a13adb6d470f)
This commit is contained in:
Bogdan 2024-01-22 14:10:24 +02:00
parent ea9b46e922
commit 1214eda6ec
2 changed files with 12 additions and 2 deletions

View File

@ -94,7 +94,12 @@ export default {
items: [],
pendingChanges: {},
sortKey: 'name',
sortDirection: sortDirections.DESCENDING
sortDirection: sortDirections.ASCENDING,
sortPredicates: {
name: function(item) {
return item.name.toLowerCase();
}
}
},
//

View File

@ -98,7 +98,12 @@ export default {
items: [],
pendingChanges: {},
sortKey: 'name',
sortDirection: sortDirections.DESCENDING
sortDirection: sortDirections.ASCENDING,
sortPredicates: {
name: function(item) {
return item.name.toLowerCase();
}
}
},
//