mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Indexer sort is case sensitive
This commit is contained in:
@@ -30,7 +30,7 @@ function IndexerIndexSortMenu(props) {
|
||||
</SortMenuItem>
|
||||
|
||||
<SortMenuItem
|
||||
name="name"
|
||||
name="sortName"
|
||||
sortKey={sortKey}
|
||||
sortDirection={sortDirection}
|
||||
onPress={onSortSelect}
|
||||
|
@@ -4,7 +4,7 @@
|
||||
flex: 0 0 60px;
|
||||
}
|
||||
|
||||
.name {
|
||||
.sortName {
|
||||
composes: headerCell from '~Components/Table/VirtualTableHeaderCell.css';
|
||||
|
||||
flex: 4 0 110px;
|
||||
|
@@ -11,7 +11,7 @@
|
||||
flex: 0 0 60px;
|
||||
}
|
||||
|
||||
.name {
|
||||
.sortName {
|
||||
composes: cell;
|
||||
|
||||
flex: 4 0 110px;
|
||||
|
@@ -136,7 +136,7 @@ class IndexerIndexRow extends Component {
|
||||
);
|
||||
}
|
||||
|
||||
if (column.name === 'name') {
|
||||
if (column.name === 'sortName') {
|
||||
return (
|
||||
<VirtualTableRowCell
|
||||
key={column.name}
|
||||
|
@@ -24,9 +24,9 @@ export const defaultState = {
|
||||
saveError: null,
|
||||
isDeleting: false,
|
||||
deleteError: null,
|
||||
sortKey: 'name',
|
||||
sortKey: 'sortName',
|
||||
sortDirection: sortDirections.ASCENDING,
|
||||
secondarySortKey: 'name',
|
||||
secondarySortKey: 'sortName',
|
||||
secondarySortDirection: sortDirections.ASCENDING,
|
||||
|
||||
tableOptions: {
|
||||
@@ -50,7 +50,7 @@ export const defaultState = {
|
||||
isModifiable: false
|
||||
},
|
||||
{
|
||||
name: 'name',
|
||||
name: 'sortName',
|
||||
label: 'Indexer Name',
|
||||
isSortable: true,
|
||||
isVisible: true,
|
||||
|
Reference in New Issue
Block a user