Bug 33102: Display fields from biblioitems in OPAC/staff interface cart
authorFrédéric Demians <f.demians@tamil.fr>
Wed, 1 Mar 2023 09:25:04 +0000 (10:25 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 12 May 2023 15:34:19 +0000 (16:34 +0100)
commitfb196f88455839fc19f5b157f6763c07ef806f84
tree2dd4f4dfe224a633d82753ca0de39f401f781233
parent566117b2e75250a747245e55d74b0454bf8a291a
Bug 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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2056b5ecec2d1c861b64005451774dae1ff0f654)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
basket/basket.pl
opac/opac-basket.pl