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

(cherry picked from commit 31baed4b2c2406e48b8defa51352a13adb6d470f)
pull/3261/head
Bogdan 10 months ago
parent a259684916
commit 2e9de3cb86

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

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

Loading…
Cancel
Save