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

UIIN-3229 Set correct widths for Call number browse results columns #2740

Merged
merged 1 commit into from
Feb 11, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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