Bug 25552: Add missing Claims Returned option to MarkLostItemsAsReturned
authorKyle M Hall <kyle@bywatersolutions.com>
Wed, 20 May 2020 13:30:45 +0000 (09:30 -0400)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 1 Feb 2021 16:20:37 +0000 (17:20 +0100)
commite53d559f4212fa4b25412fdd6325ae469328f26a
tree82b19c33687195fdc44f7e6daf2e12f423231ac1
parent1af07787032275813e1e458cfed8504b482cd1c6
Bug 25552: Add missing Claims Returned option to MarkLostItemsAsReturned

Marking an item as a return claim checks MarkLostItemsAsReturned to see if claim_returned is a value in MarkLostItemsAsReturned.
However, this option was never added to MarkLostItemsAsReturned so an a return claim can never be automatically removed from the patron record, even if they wanted such behavior.

Test Plan:
1) Apply this patch
2) Restart all the things
3) Note the new return claims option on MarkLostItemsAsReturned in the system preferences

Signed-off-by: Marti Fyerst <mfuerst@hmcpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
installer/data/mysql/atomicupdate/bug_25552.perl [new file with mode: 0644]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref