Koha allows you to add new item subfields using the more_subfields_xml field in the items field. They can be marked as repeatable and adding/editing and deleting them works nicely. The item summary table abvoe the cataloguing form displays the repeated fields separated by a pipe "Test1 | Test2". But the item table on the MARC view in the staff catalog displays only the last of the repeated subfields.
(In reply to Katrin Fischer from comment #0) > Koha allows you to add new item subfields using the more_subfields_xml field > in the items field. They can be marked as repeatable and adding/editing and > deleting them works nicely. On current master dd 2/20 clicking the clone button creates an unaligned text box in the item editor. But saving and reediting works. Deleting is done by clearing the text box. Perhaps adding a delete button just like in cataloging should be nicer.
(In reply to Katrin Fischer from comment #0) > But the item table on the MARC view in the staff catalog displays only the > last of the repeated subfields. Still a problem. Does also occur on MARC view in OPAC.
Created attachment 98664 [details] [review] Bug 13574: Fix display of repeatable item subfields
Not ready yet !
Created attachment 98790 [details] [review] Bug 13574: Fix display of repeatable item subfields Applies to OPAC and staff: opac-MARCdetail and catalogue/MARCdetail. Test plan: [1] Pick an item. Pick two fields say URI and copy number, and fill these with a value like A | B. (The pipe char is important.) [2] Verify that the display of the item block on opac-MARCdetail shows both A and B in those columns. (Previously only B was shown.) [3] Verify the same on catalogue MARC detail, items tab. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
(In reply to Marcel de Rooy from comment #1) > On current master dd 2/20 clicking the clone button creates an unaligned > text box in the item editor. But saving and reediting works. > Deleting is done by clearing the text box. Perhaps adding a delete button > just like in cataloging should be nicer. Opened up a new bug for the styling issues. Bug 24649.
Created attachment 98858 [details] [review] Bug 13574: Fix display of repeatable item subfields Applies to OPAC and staff: opac-MARCdetail and catalogue/MARCdetail. Test plan: [1] Pick an item. Pick two fields say URI and copy number, and fill these with a value like A | B. (The pipe char is important.) [2] Verify that the display of the item block on opac-MARCdetail shows both A and B in those columns. (Previously only B was shown.) [3] Verify the same on catalogue MARC detail, items tab. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Holly <hc@interleaf.ie>
Created attachment 98979 [details] [review] Bug 13574: Fix display of repeatable item subfields Applies to OPAC and staff: opac-MARCdetail and catalogue/MARCdetail. Test plan: [1] Pick an item. Pick two fields say URI and copy number, and fill these with a value like A | B. (The pipe char is important.) [2] Verify that the display of the item block on opac-MARCdetail shows both A and B in those columns. (Previously only B was shown.) [3] Verify the same on catalogue MARC detail, items tab. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Holly <hc@interleaf.ie> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
(In reply to Katrin Fischer from comment #8) > Signed-off-by: Holly <hc@interleaf.ie> > Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Thx Holly and Katrin
Nice work everyone! Pushed to master for 20.05
Pushed to 19.11.x branch for 19.11.04
backported to 19.05.x for 19.05.09