Skip to content

Commit

Permalink
UIBULKED-403 add missed permissions and clean state between tabs chan…
Browse files Browse the repository at this point in the history
…ge (#466)
  • Loading branch information
vashjs authored Jan 30, 2024
1 parent 2c67d65 commit e72c901
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,13 @@
"inventory-storage.item-note-types.item.get",
"inventory-storage.call-number-types.item.get",
"inventory-storage.call-number-types.item.get",
"inventory-storage.electronic-access-relationships.item.get"
"inventory-storage.electronic-access-relationships.item.get",
"fqm.entityTypes.collection.get",
"fqm.entityTypes.item.get",
"fqm.entityTypes.item.columnValues.get",
"fqm.query.async.results.get",
"fqm.query.async.post",
"fqm.query.async.delete"
],
"visible": true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,12 @@ export const BulkEditListFilters = ({
};

const handleCriteriaChange = (value) => {
setFilters(prev => ({ ...prev, criteria: value }));
const newFilterValue = { capabilities: null, recordTypes: null, criteria: value };

setFilters(prev => ({ ...prev, ...newFilterValue }));

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

Expand Down
1 change: 1 addition & 0 deletions translations/ui-bulk-edit/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
"list.errors.table.message": "Reason for error",

"uploaderBtnText": "or choose file",
"uploaderSubTitle": "Select a file with record identifiers",
"uploaderSubTitle.empty": "Select a file with record identifiers",
"uploaderSubTitle.item": "Select a file with record identifiers",
"uploaderSubTitle.user": "Select a file with record identifiers",
Expand Down

0 comments on commit e72c901

Please sign in to comment.