[Bug 30148] New: Pipe separated online resource links are hard to customize (staff interface)
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Bug ID: 30148 Summary: Pipe separated online resource links are hard to customize (staff interface) Change sponsored?: --- Product: Koha Version: master Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Staff Client Assignee: koha-bugs@lists.koha-community.org Reporter: katrin.fischer@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: gmcharlt@gmail.com Depends on: 27613 Changes to the XSLT files like on bug 27613, but for the staff interface. Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27613 [Bug 27613] Pipe separated online resource links are hard to customize (OPAC) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Lucas Gass <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- 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=30148 Fridolin Somers <fridolin.somers@biblibre.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fridolin.somers@biblibre.co | |m -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Bug 30148 depends on bug 27613, which changed state. Bug 27613 Summary: Pipe separated online resource links are hard to customize (OPAC) https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27613 What |Removed |Added ---------------------------------------------------------------------------- Status|Pushed to master |RESOLVED Resolution|--- |FIXED -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Pipe separated online |Pipe separated contents are |resource links are hard to |hard to customize (staff |customize (staff interface) |interface) -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|koha-bugs@lists.koha-commun |tomascohen@gmail.com |ity.org | CC| |tomascohen@gmail.com -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 --- Comment #1 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 187486 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187486&action=edit Bug 30148: (follow-up) Apply CSS-based separators to online resources (856) Extends the CSS-based separator approach to field 856 (Electronic Location and Access) which was still using hardcoded pipe separators. This completes the conversion of all major repeatable fields in the staff interface to use consistent CSS-based separators, matching the OPAC implementation from Bug 27613. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 --- Comment #2 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 187487 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187487&action=edit Bug 30148: (follow-up) Apply CSS-based separators to additional repeatable fields Extends the CSS-based separator approach to additional repeatable fields that were using hardcoded pipe separators: - Content type (336) - Media type (337) - Carrier type (338) - Awards (586) - Production credits (508) This provides consistent behavior and customization options across all major repeatable fields in the staff interface, matching the approach used for classification fields. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 --- Comment #3 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 187488 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187488&action=edit Bug 30148: Apply CSS-based separators to all classification fields This patch changes the classification display from hardcoded pipe separators to CSS pseudo-elements, following the same approach as Bug 27613 for the OPAC. Changes: - Wrap each field occurrence in <li> elements within <ul> - Remove hardcoded delimeter parameter from subfieldSelect - Add CSS rules to display pipe separators via ::after pseudo-elements - LOC classification (050) - Publisher number (028) - DDC classification (082) - NLM classification (060) - Other classification (084) This allows libraries to customize the separator display via CSS. It also provides consistent behavior and customization options across all repeatable classification fields in the staff interface. To test: 1. Create a record with multiple 050 fields: 050 4 $aE337.5 $b.O54 2025 050 4 $aE415.7 $b.A44 2025 2. View the record in staff interface => SUCCESS: Classification looks ok: ``` E337.5 .O54 2025 | E415.7 .A44 2025 ``` 3. Apply this patch 4. Run: $ ktd --shell k$ yarn build 5. Refresh the page => SUCCESS: It still looks correct! 6. Sign off :-D Extends the CSS-based separator approach to all classification fields that were using hardcoded pipe separators: -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |Needs Signoff Patch complexity|--- |Small patch --- Comment #4 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Extends the CSS-based separator approach to field 856 (Electronic Location and Access) which was still using hardcoded pipe separators. This completes the conversion of all major repeatable fields in the staff interface to use consistent CSS-based separators, matching the OPAC implementation from Bug 27613. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187486|0 |1 is obsolete| | Attachment #187487|0 |1 is obsolete| | Attachment #187488|0 |1 is obsolete| | --- Comment #5 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 187490 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187490&action=edit Bug 30148: Apply CSS-based separators to all classification fields This patch changes the classification display from hardcoded pipe separators to CSS pseudo-elements, following the same approach as Bug 27613 for the OPAC. Changes: - Wrap each field occurrence in <li> elements within <ul> - Remove hardcoded delimeter parameter from subfieldSelect - Add CSS rules to display pipe separators via ::after pseudo-elements - LOC classification (050) - Publisher number (028) - DDC classification (082) - NLM classification (060) - Other classification (084) This allows libraries to customize the separator display via CSS. It also provides consistent behavior and customization options across all repeatable classification fields in the staff interface. To test: 1. Create a record with multiple 050 fields: 050 4 $aE337.5 $b.O54 2025 050 4 $aE415.7 $b.A44 2025 2. View the record in staff interface => SUCCESS: Classification looks ok: ``` E337.5 .O54 2025 | E415.7 .A44 2025 ``` 3. Apply this patch 4. Run: $ ktd --shell k$ yarn build 5. Refresh the page => SUCCESS: It still looks correct! 6. Sign off :-D Extends the CSS-based separator approach to all classification fields that were using hardcoded pipe separators: -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 --- Comment #6 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 187491 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187491&action=edit Bug 30148: (follow-up) Apply CSS-based separators to additional repeatable fields Extends the CSS-based separator approach to additional repeatable fields that were using hardcoded pipe separators: - Content type (336) - Media type (337) - Carrier type (338) - Awards (586) - Production credits (508) This provides consistent behavior and customization options across all major repeatable fields in the staff interface, matching the approach used for classification fields. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 --- Comment #7 from Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> --- Created attachment 187492 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187492&action=edit Bug 30148: (follow-up) Apply CSS-based separators to online resources (856) Extends the CSS-based separator approach to field 856 (Electronic Location and Access) which was still using hardcoded pipe separators. This completes the conversion of all major repeatable fields in the staff interface to use consistent CSS-based separators, matching the OPAC implementation from Bug 27613. -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Tomás Cohen Arazi (tcohen) <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Depends on| |40959 Referenced Bugs: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40959 [Bug 40959] LOC classification display broken -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Lucas Gass (lukeg) <lucas@bywatersolutions.com> 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=30148 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187490|0 |1 is obsolete| | --- Comment #8 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 187497 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187497&action=edit Bug 30148: Apply CSS-based separators to all classification fields This patch changes the classification display from hardcoded pipe separators to CSS pseudo-elements, following the same approach as Bug 27613 for the OPAC. Changes: - Wrap each field occurrence in <li> elements within <ul> - Remove hardcoded delimeter parameter from subfieldSelect - Add CSS rules to display pipe separators via ::after pseudo-elements - LOC classification (050) - Publisher number (028) - DDC classification (082) - NLM classification (060) - Other classification (084) This allows libraries to customize the separator display via CSS. It also provides consistent behavior and customization options across all repeatable classification fields in the staff interface. To test: 1. Create a record with multiple 050 fields: 050 4 $aE337.5 $b.O54 2025 050 4 $aE415.7 $b.A44 2025 2. View the record in staff interface => SUCCESS: Classification looks ok: ``` E337.5 .O54 2025 | E415.7 .A44 2025 ``` 3. Apply this patch 4. Run: $ ktd --shell k$ yarn build 5. Refresh the page => SUCCESS: It still looks correct! 6. Sign off :-D Extends the CSS-based separator approach to all classification fields that were using hardcoded pipe separators: 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=30148 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187491|0 |1 is obsolete| | --- Comment #9 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 187498 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187498&action=edit Bug 30148: (follow-up) Apply CSS-based separators to additional repeatable fields Extends the CSS-based separator approach to additional repeatable fields that were using hardcoded pipe separators: - Content type (336) - Media type (337) - Carrier type (338) - Awards (586) - Production credits (508) This provides consistent behavior and customization options across all major repeatable fields in the staff interface, matching the approach used for classification fields. 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=30148 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187492|0 |1 is obsolete| | --- Comment #10 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Created attachment 187499 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=187499&action=edit Bug 30148: (follow-up) Apply CSS-based separators to online resources (856) Extends the CSS-based separator approach to field 856 (Electronic Location and Access) which was still using hardcoded pipe separators. This completes the conversion of all major repeatable fields in the staff interface to use consistent CSS-based separators, matching the OPAC implementation from Bug 27613. 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=30148 --- Comment #11 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 189678 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189678&action=edit Bug 30148: Apply CSS-based separators to all classification fields This patch changes the classification display from hardcoded pipe separators to CSS pseudo-elements, following the same approach as Bug 27613 for the OPAC. Changes: - Wrap each field occurrence in <li> elements within <ul> - Remove hardcoded delimeter parameter from subfieldSelect - Add CSS rules to display pipe separators via ::after pseudo-elements - LOC classification (050) - Publisher number (028) - DDC classification (082) - NLM classification (060) - Other classification (084) This allows libraries to customize the separator display via CSS. It also provides consistent behavior and customization options across all repeatable classification fields in the staff interface. To test: 1. Create a record with multiple 050 fields: 050 4 $aE337.5 $b.O54 2025 050 4 $aE415.7 $b.A44 2025 2. View the record in staff interface => SUCCESS: Classification looks ok: ``` E337.5 .O54 2025 | E415.7 .A44 2025 ``` 3. Apply this patch 4. Run: $ ktd --shell k$ yarn build 5. Refresh the page => SUCCESS: It still looks correct! 6. Sign off :-D Extends the CSS-based separator approach to all classification fields that were using hardcoded pipe separators: Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 --- Comment #12 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 189679 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189679&action=edit Bug 30148: (follow-up) Apply CSS-based separators to additional repeatable fields Extends the CSS-based separator approach to additional repeatable fields that were using hardcoded pipe separators: - Content type (336) - Media type (337) - Carrier type (338) - Awards (586) - Production credits (508) This provides consistent behavior and customization options across all major repeatable fields in the staff interface, matching the approach used for classification fields. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 --- Comment #13 from Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> --- Created attachment 189680 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=189680&action=edit Bug 30148: (follow-up) Apply CSS-based separators to online resources (856) Extends the CSS-based separator approach to field 856 (Electronic Location and Access) which was still using hardcoded pipe separators. This completes the conversion of all major repeatable fields in the staff interface to use consistent CSS-based separators, matching the OPAC implementation from Bug 27613. Signed-off-by: Lucas Gass <lucas@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk> -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187497|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=30148 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187498|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=30148 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #187499|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=30148 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Passed QA CC| |martin.renvoize@openfifth.c | |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Martin Renvoize (ashimema) <martin.renvoize@openfifth.co.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- QA Contact|testopia@bugs.koha-communit |martin.renvoize@openfifth.c |y.org |o.uk -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Passed QA |Pushed to main Version(s)| |25.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=30148 --- Comment #14 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- Nice work everyone! Pushed to main for 25.11 -- You are receiving this mail because: You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30148 Laura Escamilla <Laura.escamilla@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Laura.escamilla@bywatersolu | |tions.com Status|Pushed to main |Needs documenting --- Comment #15 from Laura Escamilla <Laura.escamilla@bywatersolutions.com> --- This is an enhancement and will not be backported to the 25.05.x branch. -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org