Skip to content

Commit

Permalink
UIIN-3229 Set correct widths for Call number browse results columns
Browse files Browse the repository at this point in the history
  • Loading branch information
BogdanDenis committed Feb 11, 2025
1 parent 1487cca commit 6ab2b73
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
* Sort holdings by location name and call number. Refs UIIN-3207.
* Remove hover-over text next to "Shelving order" on the Item record detail view. Refs UIIN-3210.
* CI: Switch to centralized/shared workflow from https://github.com/folio-org/.github. Fixes UIIN-3218.
* Set correct widths for Call number browse results columns. Fixes UIIN-3229.

## [12.0.12](https://github.com/folio-org/ui-inventory/tree/v12.0.12) (2025-01-27)
[Full Changelog](https://github.com/folio-org/ui-inventory/compare/v12.0.11...v12.0.12)
Expand Down
33 changes: 32 additions & 1 deletion src/components/BrowseResultsList/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,38 @@ export const COLUMNS_MAPPING = {
export const COLUMNS_WIDTHS = {
[browseModeOptions.CALL_NUMBERS]: {
callNumber: '15%',
title: '40%',
title: '70%',
numberOfTitles: '15%',
},
[browseModeOptions.DEWEY]: {
callNumber: '15%',
title: '70%',
numberOfTitles: '15%',
},
[browseModeOptions.LIBRARY_OF_CONGRESS]: {
callNumber: '15%',
title: '70%',
numberOfTitles: '15%',
},
[browseModeOptions.NATIONAL_LIBRARY_OF_MEDICINE]: {
callNumber: '15%',
title: '70%',
numberOfTitles: '15%',
},
[browseModeOptions.LOCAL]: {
callNumber: '15%',
title: '70%',
numberOfTitles: '15%',
},
[browseModeOptions.OTHER]: {
callNumber: '15%',
title: '70%',
numberOfTitles: '15%',
},
[browseModeOptions.SUPERINTENDENT]: {
callNumber: '15%',
title: '70%',
numberOfTitles: '15%',
},
[browseModeOptions.CLASSIFICATION_ALL]: {
classificationNumber: '50%',
Expand Down

0 comments on commit 6ab2b73

Please sign in to comment.