Bug 33101: Restore OPAC basket detailed view
authorFrédéric Demians <f.demians@tamil.fr>
Wed, 1 Mar 2023 08:22:22 +0000 (09:22 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 2 Mar 2023 12:37:41 +0000 (09:37 -0300)
The OPAC basket detailed view display is broken since since bug 32445.
This patch restore the usual operation.

TO TEST:

1. Add a biblio recor into the OPAC basket.
2. Click on the cart to display its content.
3. Click on More details
   => error 500
4. Apply the patch, and repeat 3.

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomás Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-basket.tt

index b00b7dc..307c391 100644 (file)
                                                                 [% IF ( ITEM_RESULT.itemcallnumber ) %]
                                                                     ([% ITEM_RESULT.itemcallnumber | html %])
                                                                 [% END %]
-                                                                ([% INCLUDE 'item-status.inc' item = ITEM_RESULT.item_object %])
+                                                                ([% INCLUDE 'item-status.inc' item = ITEM_RESULT %])
                                                             </li>
                                                         [% END %]
                                                     </ul>