Skip to content

Commit

Permalink
Merge branch 'master' into UIIN-2557-settings-options-for-number-gene…
Browse files Browse the repository at this point in the history
…rators
  • Loading branch information
elsenhans authored Feb 6, 2025
2 parents 978fad4 + e3d1631 commit a233155
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* ECS: Disable opening item details if a user is not affiliated with item's member tenant. Fixes UIIN-3187.
* Correctly depend on `inflected`. Refs UIIN-3203.
* Decrease the amount of rerenders in `ConsortialHoldings` component. Fixes UIIN-3196.
* Sort holdings by location name and call number. Refs UIIN-3207.
* Add settings options for using number gernerator for item barcode, accession number and call number. Refs UIIN-2557.

## [12.0.12](https://github.com/folio-org/ui-inventory/tree/v12.0.12) (2025-01-27)
Expand Down
2 changes: 1 addition & 1 deletion src/ViewInstance.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ class ViewInstance extends React.Component {
fetch: true,
throwErrors: false,
params: {
query: 'instanceId==:{id}',
query: 'instanceId==:{id} sortBy effectiveLocation.name callNumberPrefix callNumber callNumberSuffix',
limit: '1000',
},
tenant: '!{tenantId}',
Expand Down
2 changes: 1 addition & 1 deletion src/providers/HoldingsProvider.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const useInstanceHoldingsQuery = (instanceId, options = {}) => {

const searchParams = {
limit: LIMIT,
query: `instanceId==${instanceId}`,
query: `instanceId==${instanceId} sortBy effectiveLocation.name callNumberPrefix callNumber callNumberSuffix`,
};

const [namespace] = useNamespace({ key: 'fetch-holding-by-instance-id' });
Expand Down
2 changes: 1 addition & 1 deletion src/routes/ViewRequestsRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ ViewRequestsRoute.manifest = {
fetch: true,
throwErrors: false,
params: {
query: 'instanceId==:{id}',
query: 'instanceId==:{id} sortBy effectiveLocation.name callNumberPrefix callNumber callNumberSuffix',
limit: '1000',
},
},
Expand Down

0 comments on commit a233155

Please sign in to comment.