Bug 26976: Display 0 if renewalsallowed is not defined
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Nov 2020 10:27:45 +0000 (11:27 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 4 Dec 2020 14:32:56 +0000 (15:32 +0100)
commit01a7dc70670801fab021ba7e4f782542c744bbee
tree50de1ad06d1b852313ed17f1bf29bacda63af6d9
parentc6263d078e9374b1712d7b2a452a1ccb614deaef
Bug 26976: Display 0 if renewalsallowed is not defined

If the circulation rule "renewalsallowed" is not set (or an empty
string) then the checkout list displays
(0 of  renewals remaining)
It should display "0 of 0"

Test plan:
Set renewalsallowed to an empty string
Check an item out
Notice the change

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
svc/checkouts