mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-11-24 11:43:07 +01:00
Series editor column fixes
Fixed: Series Editor sorting by size on disk Fixed: Series Editor column order/enabled lost on refresh
This commit is contained in:
parent
1250d71e80
commit
e7d57a95f2
@ -8,7 +8,7 @@ import createSetClientSideCollectionSortReducer from './Creators/Reducers/create
|
|||||||
import createSetClientSideCollectionFilterReducer from './Creators/Reducers/createSetClientSideCollectionFilterReducer';
|
import createSetClientSideCollectionFilterReducer from './Creators/Reducers/createSetClientSideCollectionFilterReducer';
|
||||||
import createHandleActions from './Creators/createHandleActions';
|
import createHandleActions from './Creators/createHandleActions';
|
||||||
import { set, updateItem } from './baseActions';
|
import { set, updateItem } from './baseActions';
|
||||||
import { filters, filterPredicates, filterBuilderProps } from './seriesActions';
|
import { filters, filterPredicates, filterBuilderProps, sortPredicates } from './seriesActions';
|
||||||
|
|
||||||
//
|
//
|
||||||
// Variables
|
// Variables
|
||||||
@ -27,6 +27,7 @@ export const defaultState = {
|
|||||||
sortDirection: sortDirections.ASCENDING,
|
sortDirection: sortDirections.ASCENDING,
|
||||||
secondarySortKey: 'sortTitle',
|
secondarySortKey: 'sortTitle',
|
||||||
secondarySortDirection: sortDirections.ASCENDING,
|
secondarySortDirection: sortDirections.ASCENDING,
|
||||||
|
sortPredicates,
|
||||||
selectedFilterKey: 'all',
|
selectedFilterKey: 'all',
|
||||||
filters,
|
filters,
|
||||||
filterPredicates,
|
filterPredicates,
|
||||||
@ -97,7 +98,8 @@ export const persistState = [
|
|||||||
'seriesEditor.sortKey',
|
'seriesEditor.sortKey',
|
||||||
'seriesEditor.sortDirection',
|
'seriesEditor.sortDirection',
|
||||||
'seriesEditor.selectedFilterKey',
|
'seriesEditor.selectedFilterKey',
|
||||||
'seriesEditor.customFilters'
|
'seriesEditor.customFilters',
|
||||||
|
'seriesEditor.columns'
|
||||||
];
|
];
|
||||||
|
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user