1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-23 22:40:54 +00:00

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();
}
}
},
//