mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: (UI) Change default search results sorting to age
This commit is contained in:
@@ -146,7 +146,7 @@ class SearchIndex extends Component {
|
|||||||
} = this.props;
|
} = this.props;
|
||||||
|
|
||||||
// Reset if not sorting by sortTitle
|
// Reset if not sorting by sortTitle
|
||||||
if (sortKey !== 'title') {
|
if (sortKey !== 'sortTitle') {
|
||||||
this.setState({ jumpBarItems: { order: [] } });
|
this.setState({ jumpBarItems: { order: [] } });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
@@ -31,9 +31,9 @@ export const defaultState = {
|
|||||||
error: null,
|
error: null,
|
||||||
grabError: null,
|
grabError: null,
|
||||||
items: [],
|
items: [],
|
||||||
sortKey: 'title',
|
sortKey: 'age',
|
||||||
sortDirection: sortDirections.ASCENDING,
|
sortDirection: sortDirections.ASCENDING,
|
||||||
secondarySortKey: 'title',
|
secondarySortKey: 'sortTitle',
|
||||||
secondarySortDirection: sortDirections.ASCENDING,
|
secondarySortDirection: sortDirections.ASCENDING,
|
||||||
|
|
||||||
defaults: {
|
defaults: {
|
||||||
|
Reference in New Issue
Block a user