From 6ab2b7318a692d805ee1de8a6d28cf05136e0dff Mon Sep 17 00:00:00 2001 From: Denys Bohdan Date: Tue, 11 Feb 2025 15:24:42 +0100 Subject: [PATCH] UIIN-3229 Set correct widths for Call number browse results columns --- CHANGELOG.md | 1 + src/components/BrowseResultsList/constants.js | 33 ++++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cc2a4a10e..7d83855bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/components/BrowseResultsList/constants.js b/src/components/BrowseResultsList/constants.js index 5462d96dd..c7c69f553 100644 --- a/src/components/BrowseResultsList/constants.js +++ b/src/components/BrowseResultsList/constants.js @@ -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%',