Series editor column fixes

Fixed: Series Editor sorting by size on disk
Fixed: Series Editor column order/enabled lost on refresh
pull/4326/head
Mark McDowall 4 years ago
parent 1250d71e80
commit e7d57a95f2

@ -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'
];
//

Loading…
Cancel
Save