From 6bbd6fe65ee74839934492d5873eee9aa0911549 Mon Sep 17 00:00:00 2001 From: Emily Lamancusa Date: Mon, 6 May 2024 12:04:39 -0400 Subject: [PATCH] Bug 36735: (follow-up) Fix TT filters and add a comment holds_table.inc depends on form-submit.js, but importing the asset directly breaks the script. Add a comment stating that any script that imports holds_table.inc must import form-submit.js too. Also change uri filters to html Signed-off-by: Nick Clemens --- koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc index 1890c56115f..b532ff9fe74 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/holds_table.inc @@ -1,6 +1,10 @@ [% USE Koha %] [% SET hold_cancellation = AuthorisedValues.GetAuthValueDropbox('HOLD_CANCELLATION') %] [% USE AuthorisedValues %] + +[% #This include depends on the asset js/form-submit.js. Any template making use of this include must import form-submit.js as well. %] +[% #FIXME can form-submit.js be imported into this file directly? %] + @@ -257,7 +261,7 @@ [%- END -%] [%- END # IF SuspendHoldsIntranet -%] [%- IF ( hold.found ) -%] - [% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %] + [% IF hold.intransit %]Revert transit status[% ELSE %]Revert waiting status[% END %] [%- END -%] [% IF ( hold.intransit || hold.atdestination ) %] -- 2.39.2