Skip to content

Commit

Permalink
Merge pull request #597 from mahajanmahesh935/content
Browse files Browse the repository at this point in the history
TASK : #0000 Setcurrent page to 1 before aplying filter
  • Loading branch information
ManojNathIC authored Sep 9, 2024
2 parents 3e09c08 + 93860a3 commit 45b31bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/nulp_elite/src/pages/search/ContentList.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,9 +114,11 @@ const ContentList = (props) => {
}, [domain]);

useEffect(() => {
setCurrentPage(1)
fetchData();
}, [contentTypeFilter]);
useEffect(() => {
setCurrentPage(1)
fetchData();
}, [subDomainFilter]);

Expand Down

0 comments on commit 45b31bc

Please sign in to comment.