Bug 33102 - Cart in OPAC and staff interface does no longer display infos from biblioitems table
Summary: Cart in OPAC and staff interface does no longer display infos from biblioitem...
Status: CLOSED FIXED
Alias: None
Product: Koha
Classification: Unclassified
Component: OPAC (show other bugs)
Version: Main
Hardware: All All
: P5 - low normal
Assignee: Frédéric Demians
QA Contact: Katrin Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-01 09:22 UTC by Frédéric Demians
Modified: 2024-07-04 20:37 UTC (History)
1 user (show)

See Also:
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
Circulation function:


Attachments
Bug 33102: Display fields from biblioitems in OPAC Cart (1.26 KB, patch)
2023-03-01 09:29 UTC, Frédéric Demians
Details | Diff | Splinter Review
Bug 33102: Display fields from biblioitems in OPAC/PRO Cart (1.93 KB, patch)
2023-03-01 09:39 UTC, Frédéric Demians
Details | Diff | Splinter Review
Bug 33102: Display fields from biblioitems in OPAC/PRO Cart (2.15 KB, patch)
2023-03-31 10:17 UTC, Magnus Enger
Details | Diff | Splinter Review
dBug 33102: Display fields from biblioitems in OPAC/staff interface cart (2.23 KB, patch)
2023-04-22 14:35 UTC, Katrin Fischer
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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 (tcohen) 2023-05-05 18:43:07 UTC
Pushed to master for 23.05.

Nice work everyone, thanks!
Comment 7 Martin Renvoize (ashimema) 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 (lukeg) 2023-06-15 14:51:33 UTC
Doesn't apply cleanly to 22.05.x, no backport.