Skip to content

Commit

Permalink
change identifier to recordIdentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
vashjs committed Feb 2, 2024
1 parent 0a46ad3 commit 7372fa4
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -151,12 +151,10 @@ export const BulkEditListFilters = ({
};

const handleCriteriaChange = (value) => {
const newFilterValue = { capabilities: '', recordTypes: '', identifier: '', criteria: value };

setFilters(prev => ({ ...prev, ...newFilterValue }));
setFilters(prev => ({ ...prev, recordIdentifier: '', criteria: value }));

history.replace({
search: buildSearch(newFilterValue, location.search),
search: buildSearch({ identifier: '', criteria: value }, location.search),
});
};

Expand Down

0 comments on commit 7372fa4

Please sign in to comment.