Skip to content

Commit

Permalink
OCLOMRS-1046:Paging through the list of concepts no longer works
Browse files Browse the repository at this point in the history
  • Loading branch information
jwamalwa committed Sep 14, 2021
1 parent c3c7d52 commit 43aba81
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion src/apps/concepts/pages/ViewConceptsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,26 @@ const ViewConceptsPage: React.FC<Props> = ({
// i don't know how the comparison algorithm works, but for these arrays, it fails.
// stringify the arrays to work around that
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [retrieveConcepts, retrieveDictionary, retrieveSource, containerUrl]);
}, [
retrieveConcepts,
retrieveDictionary,
retrieveSource,
containerUrl,
url,
page,
limit,
initialQ,
sortDirection,
sortBy,
// eslint-disable-next-line react-hooks/exhaustive-deps
initialDataTypeFilters.toString(),
// eslint-disable-next-line react-hooks/exhaustive-deps
initialClassFilters.toString(),
// eslint-disable-next-line react-hooks/exhaustive-deps
initialSourceFilters.toString(),
// eslint-disable-next-line react-hooks/exhaustive-deps
initialGeneralFilters.toString()
]);

const canModifyDictionary =
containerType === DICTIONARY_CONTAINER &&
Expand Down

0 comments on commit 43aba81

Please sign in to comment.