From eaf9f435a0068d0d6eae60027a09d3995314ba31 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 14 Oct 2025 10:15:12 +0200 Subject: [PATCH] Bug 41010: Adjust show_priority condition in opac-detail We had [% IF item_level_holds > 0 || show_priority %] [% ELSIF show_priority %] We never reach ELSIF. I am not sure what's the correct fix here. People involved on bug 39276 should help. --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt index 0a16027156e..259ccfefb35 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt @@ -1534,7 +1534,7 @@ [% ITEM_RESULT.barcode | html %] [% END %] - [% IF item_level_holds > 0 || show_priority %] + [% IF item_level_holds > 0 %] [% IF holds_count.defined %][% ITEM_RESULT.holds_count | html %][% END %] [% IF ITEM_RESULT.priority %] @@ -1546,7 +1546,7 @@ [% END %] [% ELSIF show_priority %] - [% priority | html %] + [% priority | html %] [% END %] [% IF ShowCourseReservesHeader %] -- 2.34.1