Skip to content

Commit

Permalink
[To Main] DESENG-525: Resetting engagement list on reset button (#2431)
Browse files Browse the repository at this point in the history
* DESENG-525: Resetting engagement list on reset button

* Fixed changelog
  • Loading branch information
ratheesh-aot authored Mar 28, 2024
1 parent 471e876 commit fba98e9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## March 27, 2024

- **Bug Fix**: MET - Engagement tab does not revert the filtered out data [DESENG-525](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-525)
- Resetting search filter values invoke the list to reload

## March 26, 2024

- **Bug Fix**: Various bugs in the survey tab [DESENG-520](https://apps.itsm.gov.bc.ca/jira/browse/DESENG-523)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,14 @@ const AdvancedSearch: React.FC<filterParams> = ({ setFilterParams }) => {
publishedFromDate: '',
publishedToDate: '',
});
// reset the search params to empty also invoke the list to reload
setFilterParams({
status_list: [],
created_from_date: '',
created_to_date: '',
published_from_date: '',
published_to_date: '',
});
};

return (
Expand Down

0 comments on commit fba98e9

Please sign in to comment.