1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-14 11:23:42 +02: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:
Mark McDowall 2021-02-10 16:52:21 -08:00
parent 1250d71e80
commit e7d57a95f2

View File

@ -8,7 +8,7 @@ import createSetClientSideCollectionSortReducer from './Creators/Reducers/create
import createSetClientSideCollectionFilterReducer from './Creators/Reducers/createSetClientSideCollectionFilterReducer';
import createHandleActions from './Creators/createHandleActions';
import { set, updateItem } from './baseActions';
import { filters, filterPredicates, filterBuilderProps } from './seriesActions';
import { filters, filterPredicates, filterBuilderProps, sortPredicates } from './seriesActions';
//
// Variables
@ -27,6 +27,7 @@ export const defaultState = {
sortDirection: sortDirections.ASCENDING,
secondarySortKey: 'sortTitle',
secondarySortDirection: sortDirections.ASCENDING,
sortPredicates,
selectedFilterKey: 'all',
filters,
filterPredicates,
@ -97,7 +98,8 @@ export const persistState = [
'seriesEditor.sortKey',
'seriesEditor.sortDirection',
'seriesEditor.selectedFilterKey',
'seriesEditor.customFilters'
'seriesEditor.customFilters',
'seriesEditor.columns'
];
//