From 2880efc5173febeb617d4b621c0be9af936dd95e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 10 Jan 2024 08:49:07 +0100 Subject: [PATCH] Bug 35329: Fix neworderempty Hum I had to put it that way but I cannot remember why. Moving patron_search_js after patron_search_modal fixes the search problem (see comment 12). Signed-off-by: Owen Leonard Signed-off-by: Martin Renvoize Signed-off-by: Jonathan Druart --- .../intranet-tmpl/prog/en/modules/acqui/neworderempty.tt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt index 5a52f08ed1..e9b62396f1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt @@ -226,9 +226,6 @@ } - [% SET columns = ['cardnumber','name','category','branch','action'] %] - [% PROCESS patron_search_js columns => columns, actions => ["add"], preview_on_name_click => 1 %] - [% Asset.css("css/addbiblio.css") | $raw %] @@ -779,6 +776,8 @@ [% PROCESS patron_search_modal columns => columns, modal_title => t("Add user") %] +[% SET columns = ['cardnumber','name','category','branch','action'] %] +[% PROCESS patron_search_js columns => columns, actions => ["add"], preview_on_name_click => 1 %] [% MACRO jsinclude BLOCK %] [% END %] -- 2.39.5