Skip to content

Commit

Permalink
UIIN-3162 *BREAKING* Use browse 1.5 interface that provides new C…
Browse files Browse the repository at this point in the history
…all Number Browse endpoints.
  • Loading branch information
BogdanDenis committed Dec 17, 2024
1 parent a4fa0de commit 3b6f21c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* User can edit Source consortium "Holdings sources" in member tenant but not in Consortia manager. Refs UIIN-3147.
* React 19: refactor away from react-dom/test-utils. Refs UIIN-2888.
* Add call number browse settings. Refs UIIN-3116.
* *BREAKING* Use `browse` `1.5` interface that provides new Call Number Browse endpoints.

## [12.0.7](https://github.com/folio-org/ui-inventory/tree/v12.0.7) (2024-12-17)
[Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.6...v12.0.7)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"okapiInterfaces": {
"alternative-title-types": "1.0",
"call-number-types": "1.0",
"browse": "0.6 1.0",
"browse": "1.5",
"circulation": "9.0 10.0 11.0 12.0 13.0 14.0",
"classification-types": "1.1",
"configuration": "2.0",
Expand Down
14 changes: 7 additions & 7 deletions src/hooks/useInventoryBrowse/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ export const FIVE_MINUTES = 5 * 60 * 1000;

export const PATH_MAP = {
[browseModeOptions.SUBJECTS]: 'browse/subjects/instances',
[browseModeOptions.CALL_NUMBERS]: 'browse/call-numbers/instances',
[browseModeOptions.DEWEY]: 'browse/call-numbers/instances',
[browseModeOptions.LIBRARY_OF_CONGRESS]: 'browse/call-numbers/instances',
[browseModeOptions.LOCAL]: 'browse/call-numbers/instances',
[browseModeOptions.NATIONAL_LIBRARY_OF_MEDICINE]: 'browse/call-numbers/instances',
[browseModeOptions.OTHER]: 'browse/call-numbers/instances',
[browseModeOptions.CALL_NUMBERS]: 'browse/call-numbers/all/instances',
[browseModeOptions.DEWEY]: 'browse/call-numbers/dewey/instances',
[browseModeOptions.LIBRARY_OF_CONGRESS]: 'browse/call-numbers/lc/instances',
[browseModeOptions.LOCAL]: 'browse/call-numbers/instances', // not supported, option disabled
[browseModeOptions.NATIONAL_LIBRARY_OF_MEDICINE]: 'browse/call-numbers/nlm/instances',
[browseModeOptions.OTHER]: 'browse/call-numbers/other/instances',
[browseModeOptions.SUPERINTENDENT]: 'browse/call-numbers/sudoc/instances',
[browseModeOptions.CLASSIFICATION_ALL]: 'browse/classification-numbers/all/instances',
[browseModeOptions.DEWEY_CLASSIFICATION]: 'browse/classification-numbers/dewey/instances',
[browseModeOptions.LC_CLASSIFICATION]: 'browse/classification-numbers/lc/instances',
[browseModeOptions.SUPERINTENDENT]: 'browse/call-numbers/instances',
[browseModeOptions.CONTRIBUTORS]: 'browse/contributors/instances',
};

Expand Down

0 comments on commit 3b6f21c

Please sign in to comment.