|
|
@@ -6,7 +6,7 @@ import { |
|
|
|
import * as HttpUtils from "utils/HttpUtils"; |
|
|
|
import { FormattedMessage, useIntl } from "react-intl"; |
|
|
|
import { TablePagination, Typography } from '@mui/material'; |
|
|
|
import { getSearchCriteria } from "auth/utils"; |
|
|
|
import { getSearchCriteria, checkSearchCriteriaPath } from "auth/utils"; |
|
|
|
|
|
|
|
// ==============================|| EVENT TABLE ||============================== // |
|
|
|
|
|
|
@@ -147,7 +147,9 @@ export function FiDataGrid({ rows, columns, sx, autoHeight, |
|
|
|
if (_doLoad.params == null) _doLoad.params = {}; |
|
|
|
_doLoad.params.start = page * pageSize; |
|
|
|
_doLoad.params.limit = pageSize; |
|
|
|
localStorage.setItem('searchCriteria', JSON.stringify({path:window.location.pathname,data:_doLoad.params})) |
|
|
|
if(checkSearchCriteriaPath(window.location.pathname)){ |
|
|
|
localStorage.setItem('searchCriteria', JSON.stringify({path:window.location.pathname,data:_doLoad.params})) |
|
|
|
} |
|
|
|
|
|
|
|
HttpUtils.get({ |
|
|
|
url: _doLoad.url, |
|
|
|