mirror of
https://github.com/Sonarr/Sonarr
synced 2025-02-22 14:11:16 +00:00
Fixed: Sorting by name in Manage Indexer and Download Client modals
This commit is contained in:
parent
7d0d503a5e
commit
31baed4b2c
2 changed files with 12 additions and 2 deletions
|
@ -94,7 +94,12 @@ export default {
|
||||||
items: [],
|
items: [],
|
||||||
pendingChanges: {},
|
pendingChanges: {},
|
||||||
sortKey: 'name',
|
sortKey: 'name',
|
||||||
sortDirection: sortDirections.DESCENDING
|
sortDirection: sortDirections.ASCENDING,
|
||||||
|
sortPredicates: {
|
||||||
|
name: function(item) {
|
||||||
|
return item.name.toLowerCase();
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
@ -99,7 +99,12 @@ export default {
|
||||||
items: [],
|
items: [],
|
||||||
pendingChanges: {},
|
pendingChanges: {},
|
||||||
sortKey: 'name',
|
sortKey: 'name',
|
||||||
sortDirection: sortDirections.DESCENDING
|
sortDirection: sortDirections.ASCENDING,
|
||||||
|
sortPredicates: {
|
||||||
|
name: function(item) {
|
||||||
|
return item.name.toLowerCase();
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue