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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 5 Feb 2021 16:17:07 +0000 (17:17 +0100)
commit1fa7920f2a97574d455944e632e16e43503e239e
tree6171e67a614ea26036ee186eb6c55240f3a459f5
parentfa472369c034cbcda80f6025ab3fbdbed58bda7c
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>
(cherry picked from commit e53d559f4212fa4b25412fdd6325ae469328f26a)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
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