]> git.koha-community.org Git - koha.git/commit
Bug 24829: ClaimReturnedWarningThreshold is always triggered if patron has one or...
authorKyle M Hall <kyle@bywatersolutions.com>
Mon, 9 Mar 2020 13:33:54 +0000 (09:33 -0400)
committerJoy Nelson <joy@bywatersolutions.com>
Fri, 3 Apr 2020 22:38:21 +0000 (22:38 +0000)
commit8b3a134435471686c1564f2bc6ee6d3e187fdd06
tree5d8f9e8f0c07e9f7f5f8b735686a21909526b0b6
parent88590cb6784d0b774f48aac9db491d0d32cf6d8a
Bug 24829: ClaimReturnedWarningThreshold is always triggered if patron has one or more claims

ClaimReturnedWarningThreshold is supposed to display a warning if a patron has more than the number of claims specified in the system preference. Currently the warning is displayed for any number of claims over zero.

Test Plan:
1) Make 3 return claims for a patron
2) Set ClaimReturnedWarningThreshold to 4
3) Note the claims warning displays for the patron on circulation.pl
4) Apply this patch
5) Reload circulation.pl, the warning should go away
6) Set ClaimReturnedWarningThreshold to 2
7) Reload the page, the warning should reappear

Signed-off-by: Sally <sally.healey@cheshiresharedservices.gov.uk>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt