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:
Mark Tompsett 2019-06-17 13:54:39 +00:00 committed by Martin Renvoize
parent 5b7e563f4e
commit 6a75f99200
Signed by: martin.renvoize
GPG key ID: 422B469130441A0F

View file

@ -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>