[Bug 42531] New: Repeatable field values with long text do not wrap on staff record detail page
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Bug ID: 42531 Summary: Repeatable field values with long text do not wrap on staff record detail page Initiative type: --- Sponsorship --- status: Product: Koha Version: Main Hardware: All OS: All Status: NEW Severity: normal Priority: P5 - low Component: Cataloging Assignee: Laura.escamilla@bywatersolutions.com Reporter: Laura.escamilla@bywatersolutions.com QA Contact: testopia@bugs.koha-community.org CC: m.de.rooy@rijksmuseum.nl The styling added for repeatable fields in Bug 30148 sets .resource_list li to white-space: nowrap. This works for short values, but causes long field values to overflow the page instead of wrapping. This can be seen with long MARC field content, such as a lengthy 508$a Production Credits note. The text continues off the right side of the staff record detail page, making the content difficult to read. The CSS should allow repeatable field values to wrap normally while still keeping the inline separator formatting. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 --- Comment #1 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- Created attachment 198627 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198627&action=edit Bug 42531: Allow repeatable field values to wrap Test plan 1. Go to Administration → MARC bibliographic frameworks. 2. Edit Books, Booklets, Workbooks (BKS) framework. 3. In tag 508, ensure subfield $a is visible in the editor. 4. Open a bibliographic record (e.g. /cgi-bin/koha/catalogue/detail.pl?biblionumber=90). 5. Edit the record and add a long block of text to 508$a (e.g. extended production credits with many names and separators). 6. Save the record and view it in the staff interface. * Before patch: The Production Credits field does not wrap and overflows off the page. 7. Apply the patch and run yarn build. 8. Refresh the record detail page. * After patch: The Production Credits field wraps correctly within the page. 9. Confirm that shorter repeatable fields still display inline with separators (|) as expected. 10. Sign off and have a great day! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Lawrence O'Regan-Lloyd <loreganlloyd@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Needs Signoff |Signed Off -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Lawrence O'Regan-Lloyd <loreganlloyd@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198627|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 --- Comment #2 from Lawrence O'Regan-Lloyd <loreganlloyd@clamsnet.org> --- Created attachment 198629 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198629&action=edit Bug 42531: Allow repeatable field values to wrap Test plan 1. Go to Administration → MARC bibliographic frameworks. 2. Edit Books, Booklets, Workbooks (BKS) framework. 3. In tag 508, ensure subfield $a is visible in the editor. 4. Open a bibliographic record (e.g. /cgi-bin/koha/catalogue/detail.pl?biblionumber=90). 5. Edit the record and add a long block of text to 508$a (e.g. extended production credits with many names and separators). 6. Save the record and view it in the staff interface. * Before patch: The Production Credits field does not wrap and overflows off the page. 7. Apply the patch and run yarn build. 8. Refresh the record detail page. * After patch: The Production Credits field wraps correctly within the page. 9. Confirm that shorter repeatable fields still display inline with separators (|) as expected. 10. Sign off and have a great day! Signed-off-by: Lawrence O'Regan-Lloyd <loreganlloyd@clamsnet.org> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Lawrence O'Regan-Lloyd <loreganlloyd@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |loreganlloyd@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Michelle Spinney <mspinney@clamsnet.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mspinney@clamsnet.org -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |lucas@bywatersolutions.com |y.org | CC| |lucas@bywatersolutions.com -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Patch complexity|--- |Trivial patch -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #198629|0 |1 is obsolete| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 --- Comment #3 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 200568 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=200568&action=edit Bug 42531: Allow repeatable field values to wrap Test plan 1. Go to Administration → MARC bibliographic frameworks. 2. Edit Books, Booklets, Workbooks (BKS) framework. 3. In tag 508, ensure subfield $a is visible in the editor. 4. Open a bibliographic record (e.g. /cgi-bin/koha/catalogue/detail.pl?biblionumber=90). 5. Edit the record and add a long block of text to 508$a (e.g. extended production credits with many names and separators). 6. Save the record and view it in the staff interface. * Before patch: The Production Credits field does not wrap and overflows off the page. 7. Apply the patch and run yarn build. 8. Refresh the record detail page. * After patch: The Production Credits field wraps correctly within the page. 9. Confirm that shorter repeatable fields still display inline with separators (|) as expected. 10. Sign off and have a great day! Signed-off-by: Lawrence O'Regan-Lloyd <loreganlloyd@clamsnet.org> Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |26.11.00 released in| | -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 --- Comment #4 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Thanks everyone! Pushed to main for 26.11! -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Version(s)|26.11.00 |26.11.00,26.05.02 released in| | Status|Pushed to main |Pushed to stable -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42531 --- Comment #5 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to 26.05.x for the upcoming 26.05.02 release. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org