Skip to content

Commit

Permalink
UIBULKED-349 add missed permission, translation and modify query (#412)
Browse files Browse the repository at this point in the history
  • Loading branch information
vashjs authored Nov 16, 2023
1 parent 71538d9 commit a8eb75f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@
"ui-bulk-edit.app-view",
"ui-bulk-edit.edit.base",
"inventory-storage.item-note-types.collection.get",
"inventory-storage.holdings-note-types.collection.get"
"inventory-storage.holdings-note-types.collection.get",
"inventory-storage.electronic-access-relationships.collection.get"
],
"visible": true
},
Expand Down
2 changes: 1 addition & 1 deletion src/constants/selectOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export const OPTIONS_WITH_ADDITIONAL_PARAMETERS = [
export const getItemsWithPlaceholder = (items) => [
{
value: '',
label: <FormattedMessage id="ui-bulk-edit.list.filters.recordIdentifier.placeholder" />,
label: <FormattedMessage id="ui-bulk-edit.type.placeholder" />,
disabled: true,
},
...items,
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/api/useElectronicAccess.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const useElectronicAccessRelationships = (options = {}) => {
queryKey: 'electronicAccess',
cacheTime: Infinity,
staleTime: Infinity,
queryFn: () => ky.get('electronic-access-relationships').json(),
queryFn: () => ky.get('electronic-access-relationships?limit=1000&query=cql.allRecords=1 sortby name').json(),
...options,
},
);
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 @@ -262,6 +262,7 @@
"layer.confirmChanges": "Confirm changes",
"actions.placeholder": "Select action",
"options.placeholder": "Select option",
"type.placeholder": "Select type",
"actions.find": "Find",
"layer.column.options": "Options",
"layer.column.actions": "Actions",
Expand Down

0 comments on commit a8eb75f

Please sign in to comment.