mirror of
https://github.com/Prowlarr/Prowlarr
synced 2025-12-06 08:34:28 +01:00
Fixed: (UI) Change default search results sorting to age
This commit is contained in:
parent
02a3c1b224
commit
7eac11f57a
2 changed files with 3 additions and 3 deletions
|
|
@ -146,7 +146,7 @@ class SearchIndex extends Component {
|
|||
} = this.props;
|
||||
|
||||
// Reset if not sorting by sortTitle
|
||||
if (sortKey !== 'title') {
|
||||
if (sortKey !== 'sortTitle') {
|
||||
this.setState({ jumpBarItems: { order: [] } });
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,9 +31,9 @@ export const defaultState = {
|
|||
error: null,
|
||||
grabError: null,
|
||||
items: [],
|
||||
sortKey: 'title',
|
||||
sortKey: 'age',
|
||||
sortDirection: sortDirections.ASCENDING,
|
||||
secondarySortKey: 'title',
|
||||
secondarySortKey: 'sortTitle',
|
||||
secondarySortDirection: sortDirections.ASCENDING,
|
||||
|
||||
defaults: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue