feat(ui) - errors pagination

This commit is contained in:
Shekar Siri 2022-03-15 19:12:15 +01:00
parent 4946dd2036
commit 2523948616
2 changed files with 3 additions and 3 deletions

View file

@ -12,8 +12,8 @@ import { debounce } from 'App/utils';
const PER_PAGE = 10;
const sortOptionsMap = {
'lastOccurrence-desc': 'Last Occurrence',
'firstOccurrence-desc': 'First Occurrence',
'occurrence-desc': 'Last Occurrence',
'occurrence-desc': 'First Occurrence',
'sessions-asc': 'Sessions Ascending',
'sessions-desc': 'Sessions Descending',
'users-asc': 'Users Ascending',

View file

@ -9,7 +9,7 @@ import { reduceThenFetchResource } from './search'
const name = "error";
const idKey = "errorId";
const PER_PAGE = 10;
const DEFAULT_SORT = 'lastOccurrence';
const DEFAULT_SORT = 'occurrence';
const DEFAULT_ORDER = 'desc';
const EDIT_OPTIONS = `${name}/EDIT_OPTIONS`;