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

(cherry picked from commit 31baed4b2c2406e48b8defa51352a13adb6d470f)
pull/4509/head
Bogdan 4 months ago committed by servarr
parent ea9b46e922
commit 665e94cd1d

@ -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