In OPAC, the Cart doesn't display anymore fields coming from biblioitems table, publicationyear for example.
Created attachment 147540 [details] [review] Bug 33102: Display fields from biblioitems in OPAC Cart The OPAC cart only displays biblio fields coming from 'biblio' table. Fields from biblioitems table aren't displayed anymore. TO TEST: 1. Populate a cart in OPAC and display it. 2. You can see that Year column is empty (if you don't have copyright field). 3. Apply the patch. 4. You can see more fields in cart simple/detailed view.
Created attachment 147541 [details] [review] Bug 33102: Display fields from biblioitems in OPAC/PRO Cart The OPAC/PRO cart only displays biblio fields coming from 'biblio' table. Fields from biblioitems table aren't displayed anymore. TO TEST: 1. Populate a cart in OPAC/PRO and display it. 2. You can see that Year column is empty (if you don't have copyright field). And other fields. 3. Apply the patch. 4. You can see more fields in cart simple/detailed view.
Created attachment 149023 [details] [review] Bug 33102: Display fields from biblioitems in OPAC/PRO Cart The OPAC/PRO cart only displays biblio fields coming from 'biblio' table. Fields from biblioitems table aren't displayed anymore. TO TEST: 1. Populate a cart in OPAC/PRO and display it. 2. You can see that Year column is empty (if you don't have copyright field). And other fields. 3. Apply the patch. 4. You can see more fields in cart simple/detailed view. Signed-off-by: Magnus Enger <magnus@libriotech.no> Tested by having a record with: - biblio.copyrightdate = NULL - biblioitems.publicationyear = 2025 Without the patch, no year is shown in the cart. With the patch, 2025 is shown.
ISBN and ISSN are a little easier to test for MARC21 installations :)
Created attachment 150081 [details] [review] dBug 33102: Display fields from biblioitems in OPAC/staff interface cart The OPAC/PRO cart only displays biblio fields coming from 'biblio' table. Fields from biblioitems table aren't displayed anymore. TO TEST: 1. Populate a cart in OPAC/staff interface and display it. 2. You can see that Year column is empty (if you don't have copyright field). And other fields. 3. Apply the patch. 4. You can see more fields in cart simple/detailed view. Signed-off-by: Magnus Enger <magnus@libriotech.no> Tested by having a record with: - biblio.copyrightdate = NULL - biblioitems.publicationyear = 2025 Without the patch, no year is shown in the cart. With the patch, 2025 is shown. Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Pushed to master for 23.05. Nice work everyone, thanks!
Many hands makes light work, thankyou everyone! Pushed to 22.11.x for the next release
Doesn't apply cleanly to 22.05.x, no backport.