Bug 32711: Add biblio details to modal
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 24 Jan 2023 12:22:34 +0000 (12:22 +0000)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Jul 2023 16:58:20 +0000 (13:58 -0300)
commit050c173f6cb2570948fd9ff22e047ee750bd0270
tree3255d25b6f6c6b0125d1a33d848853dc7f2c4e87
parent2442a4537d4d439bdf27e031116f98d880e47e09
Bug 32711: Add biblio details to modal

This patch adds biblio details to the self-checkout modal. As part of
this we add 'biblio' to the x-koha-embed option on the public items
endpoint, clone the js-biblio-format include from the staff client
adapting it slightly for OPAC use along the way and also import
escape_str and escapeHtml from staff to opac too.

Signed-off-by: Silvia Meakins <smeakins@eso.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
api/v1/swagger/paths/items.yaml
koha-tmpl/opac-tmpl/bootstrap/en/includes/js-biblio-format.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/en/includes/modals/checkout.inc
koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-bottom.inc
koha-tmpl/opac-tmpl/bootstrap/js/global.js
koha-tmpl/opac-tmpl/bootstrap/js/modals/checkout.js