Bugzilla – Attachment 187855 Details for
Bug 41010
Incorrect show_priority condition in opac-detail
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 41010: Adjust show_priority condition in opac-detail
Bug-41010-Adjust-showpriority-condition-in-opac-de.patch (text/plain), 1.69 KB, created by
Jonathan Druart
on 2025-10-14 09:50:01 UTC
(
hide
)
Description:
Bug 41010: Adjust show_priority condition in opac-detail
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2025-10-14 09:50:01 UTC
Size:
1.69 KB
patch
obsolete
>From eaf9f435a0068d0d6eae60027a09d3995314ba31 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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 @@ > <td class="barcode" property="serialNumber">[% ITEM_RESULT.barcode | html %]</td> > [% END %] > >- [% IF item_level_holds > 0 || show_priority %] >+ [% IF item_level_holds > 0 %] > <td class="holds_count"> > [% IF holds_count.defined %][% ITEM_RESULT.holds_count | html %][% END %] > [% IF ITEM_RESULT.priority %] >@@ -1546,7 +1546,7 @@ > [% END %] > </td> > [% ELSIF show_priority %] >- <td class="holds_priority">[% priority | html %] </td> >+ <td class="holds_priority">[% priority | html %]</td> > [% END %] > > [% IF ShowCourseReservesHeader %] >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 41010
: 187855