Bug 23104: (follow-up) fix display for 0/Unlimited
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
5b7e563f4e
commit
6a75f99200
1 changed files with 2 additions and 2 deletions
|
@ -138,7 +138,7 @@
|
|||
</td>
|
||||
<td>
|
||||
[% SET rule_value = CirculationRules.Get( rule.branchcode, rule.categorycode, rule.itemtype, 'maxissueqty' ) %]
|
||||
[% IF rule_value %]
|
||||
[% IF rule_value || rule_value == "0" %]
|
||||
[% rule_value | html %]
|
||||
[% ELSE %]
|
||||
<span>Unlimited</span>
|
||||
|
@ -146,7 +146,7 @@
|
|||
</td>
|
||||
<td>
|
||||
[% SET rule_value = CirculationRules.Get( rule.branchcode, rule.categorycode, rule.itemtype, 'maxonsiteissueqty' ) %]
|
||||
[% IF rule_value %]
|
||||
[% IF rule_value || rule_value == "0" %]
|
||||
[% rule_value | html %]
|
||||
[% ELSE %]
|
||||
<span>Unlimited</span>
|
||||
|
|
Loading…
Reference in a new issue