Search and History Improvements

This commit is contained in:
Qstick
2020-10-21 18:53:04 -04:00
parent dd8313f9ce
commit 94b295ddcf
34 changed files with 148 additions and 472 deletions
@@ -1,6 +1,6 @@
import { connect } from 'react-redux';
import { createSelector } from 'reselect';
import { setMovieSort } from 'Store/Actions/indexerIndexActions';
import { setReleasesSort } from 'Store/Actions/releaseActions';
import createUISettingsSelector from 'Store/Selectors/createUISettingsSelector';
import SearchIndexTable from './SearchIndexTable';
@@ -23,7 +23,7 @@ function createMapStateToProps() {
function createMapDispatchToProps(dispatch, props) {
return {
onSortPress(sortKey) {
dispatch(setMovieSort({ sortKey }));
dispatch(setReleasesSort({ sortKey }));
}
};
}