From 9eb4b1e963db6195cefb90d0b319e771ff7ab87c Mon Sep 17 00:00:00 2001 From: Josef Moravec Date: Mon, 3 Aug 2020 07:29:15 +0000 Subject: [PATCH] Bug 24201: (QA follow-up) Fix desks select box selected attribute Signed-off-by: Josef Moravec Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc | 4 ++++ koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc index 2d734cd42d..35386127db 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/html_helpers.inc @@ -12,7 +12,11 @@ [% FOREACH d IN desks %] [% IF d.branchcode == branch %] + [% IF selected == d.desk_id %] + + [% ELSE %] + [% END %] [% ELSE %] [% END%] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt index 7ae971915e..8d115f8661 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/set-library.tt @@ -79,7 +79,7 @@ Updated:
    -- 2.20.1