Bug 25736

Summary: ClaimsReturnedWarningThreshold should be disabled by being unset
Product: Koha Reporter: Andrew Fuerste-Henry <andrew>
Component: CirculationAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall, rcoert
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25733
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25901
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:
Bug Depends on: 14697    
Bug Blocks:    

Description Andrew Fuerste-Henry 2020-06-12 20:00:55 UTC
Tangential to bug 25733
If ClaimsReturnedWarningThreshold is empty, it should be ignored and no message should be shown in patron account.
Imagine:
- a library decides to use Claims Returned, sets it up, uses it for a while
- the library decides not to use it anymore and removes the values from ClaimReturnedLostValue and ClaimReturnedWarningThreshold
- Koha treats the blank in ClaimReturnedWarningThreshold as a zero, shows the warning for anyone who still has 1 or more claims in the database
- With ClaimReturnedLostValue unset, there is no longer a way to see or address those claims