From 7d0cd2ebae3c398c07c63edb796ecfca73117ea8 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Mon, 27 Jun 2022 11:54:49 +0100 Subject: [PATCH] Bug 28854: (follow-up) Link bundle items to thier biblios This patch splits out the title formatting from the bundle item title display into it's own new js-biblio-format include file and adds biblio linking options. Signed-off-by: Katrin Fischer Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- .../prog/en/includes/js-biblio-format.inc | 50 +++++++++++++++++++ .../prog/en/modules/catalogue/detail.tt | 15 ++---- 2 files changed, 53 insertions(+), 12 deletions(-) create mode 100644 koha-tmpl/intranet-tmpl/prog/en/includes/js-biblio-format.inc diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/js-biblio-format.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/js-biblio-format.inc new file mode 100644 index 0000000000..32d5b1898e --- /dev/null +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/js-biblio-format.inc @@ -0,0 +1,50 @@ + diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt index ce14db485f..948998e7ba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt @@ -1598,6 +1598,7 @@ Note that permanent location is a code, and location may be an authval. [% INCLUDE 'columns_settings.inc' %] [% INCLUDE 'js-date-format.inc' %] [% INCLUDE 'js-patron-format.inc' %] + [% INCLUDE 'js-biblio-format.inc' %] [% Asset.js("js/browser.js") | $raw %] [% Asset.js("js/table_filters.js") | $raw %]