Bug 33102

Summary: Cart in OPAC and staff interface does no longer display infos from biblioitems table
Product: Koha Reporter: Frédéric Demians <f.demians>
Component: OPACAssignee: Frédéric Demians <f.demians>
Status: RESOLVED FIXED QA Contact: Katrin Fischer <katrin.fischer>
Severity: normal    
Priority: P5 - low CC: lucas
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: Trivial patch
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
23.05.00,22.11.06
Attachments: Bug 33102: Display fields from biblioitems in OPAC Cart
Bug 33102: Display fields from biblioitems in OPAC/PRO Cart
Bug 33102: Display fields from biblioitems in OPAC/PRO Cart
dBug 33102: Display fields from biblioitems in OPAC/staff interface cart

Description Frédéric Demians 2023-03-01 09:22:40 UTC
In OPAC, the Cart doesn't display anymore fields coming from biblioitems table, publicationyear for example.
Comment 1 Frédéric Demians 2023-03-01 09:29:37 UTC Comment hidden (obsolete)
Comment 2 Frédéric Demians 2023-03-01 09:39:03 UTC Comment hidden (obsolete)
Comment 3 Magnus Enger 2023-03-31 10:17:06 UTC
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.
Comment 4 Katrin Fischer 2023-04-22 14:33:33 UTC
ISBN and ISSN are a little easier to test for MARC21 installations :)
Comment 5 Katrin Fischer 2023-04-22 14:35:38 UTC
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>
Comment 6 Tomás Cohen Arazi 2023-05-05 18:43:07 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 7 Martin Renvoize 2023-05-12 15:36:26 UTC
Many hands makes light work, thankyou everyone!

Pushed to 22.11.x for the next release
Comment 8 Lucas Gass 2023-06-15 14:51:33 UTC
Doesn't apply cleanly to 22.05.x, no backport.