https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41010
Bug ID: 41010
Summary: Incorrect show_priority condition in opac-detail
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: OPAC
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Depends on: 39276
From bug 39276 comment 12
I don't understand this patch.
Here is the diff:
+ [% ELSIF show_priority %]
+ <td class="holds_priority">[% priority | html %] </td>
[% END %]
Here is the context:
[% IF item_level_holds > 0 || show_priority %]
<td class="holds_count">
[% IF holds_count.defined %][%
ITEM_RESULT.holds_count | html %][% END %]
[% IF ITEM_RESULT.priority %]
[% IF holds_count.defined %]
<span>(priority [% ITEM_RESULT.priority |
html %])</span>
[% ELSE %]
<span>[% ITEM_RESULT.priority | html
%]</span>
[% END %]
[% END %]
</td>
[% ELSIF show_priority %]
<td class="holds_priority">[% priority | html %] </td>
[% END %]
we never reach the ELSIF, we have || show_priority in the first condition.
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39276
[Bug 39276] OPACShowHoldQueueDetails datatable warning
--
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/