]> git.koha-community.org Git - koha.git/commit
Bug 19974: Make MarkLostItemsAsReturned multiple
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 2 Apr 2018 16:55:16 +0000 (13:55 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 Apr 2018 14:57:31 +0000 (11:57 -0300)
commitd32791b5db11c20e7e445d0c9e10e8663883598f
treeb93728f8ab12a7be80716eb845e85a683e2a43c1
parent8d8dc552418dc0a95c8baadcfc524382e76d971c
Bug 19974: Make MarkLostItemsAsReturned multiple

Given the confusion regarding this behaviour it sounds better to make it
configurable.
This pref will take 4 different values, 1 per place an item can be
marked as lost.

Test plan:
Mark items as lost and confirm the item is returned or not, depending on
the value of the system preference.

- from the longoverdue cronjob (--mark-returned takes precedence if set)
- from the batch item modification tool
- when cataloguing an item
- from the items tab of the catalog module

Signed-off-by: Séverine QUEUNE <severine.queune@bulac.fr>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
catalogue/updateitem.pl
cataloguing/additem.pl
installer/data/mysql/atomicupdate/bug_19974.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/circulation.pref
misc/cronjobs/longoverdue.pl
t/db_dependent/Circulation.t
tools/batchMod.pl