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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 15 Dec 2020 20:44:03 +0000 (20:44 +0000)
commit86012e08b0cd47efe0e5b78bf76af370c6029a1d
tree04149a327bcee14830970a1e0b312190e2e97144
parent8ff0f3a5985756dc0573a224d4f71fbf44c32c4a
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>
(cherry picked from commit 01a7dc70670801fab021ba7e4f782542c744bbee)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 7e4bab26ca65b28df39cdf7d480b9f4c5e9e3e53)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
svc/checkouts