Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIBULKED-349 add missed permission, translation and modify query #412

Merged
merged 16 commits into from
Nov 16, 2023
Merged
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
Loading