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.
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 5d770843f3)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
This commit is contained in:
parent
251f394413
commit
25f9243304
|
|
@ -1527,7 +1527,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 %]
|
||||
|
|
@ -1539,7 +1539,7 @@
|
|||
[% END %]
|
||||
</td>
|
||||
[% ELSIF show_priority %]
|
||||
<td class="holds_priority">[% priority | html %] </td>
|
||||
<td class="holds_priority">[% priority | html %]</td>
|
||||
[% END %]
|
||||
|
||||
[% IF ShowCourseReservesHeader %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue