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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Tue, 9 Feb 2021 21:32:30 +0000 (21:32 +0000)
commit5aadcea8c9cb7e84cb04957c36f4eebf37f996e2
treea8b7bae81cd12a232fa8ff20813e62991084decf
parentb3a2e405a4ff7330771b7bc81f724e2992e0d904
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>
(cherry picked from commit 1fa7920f2a97574d455944e632e16e43503e239e)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
installer/data/mysql/atomicupdate/bug_25552.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref