From cf1c06e8f059b6ac017132fa451d9e5df0d6c4f2 Mon Sep 17 00:00:00 2001 From: Mark Tompsett Date: Mon, 17 Jun 2019 13:54:39 +0000 Subject: [PATCH] Bug 23104: (follow-up) fix display for 0/Unlimited Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize (cherry picked from commit 6a75f99200f6659d09e46ce9e11c5ded11020d89) Signed-off-by: Fridolin Somers --- koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt index b71c172a98..2fb25d2909 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt @@ -138,7 +138,7 @@ [% 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 %] Unlimited @@ -146,7 +146,7 @@ [% 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 %] Unlimited -- 2.39.5