]> git.koha-community.org Git - koha.git/commit
Bug 18372 - transits are not created at check in despite user responsing Yes to the...
authorOwen Leonard <oleonard@myacpl.org>
Tue, 11 Apr 2017 16:45:40 +0000 (16:45 +0000)
committerKatrin Fischer <katrin.fischer.83@web.de>
Fri, 21 Apr 2017 22:10:19 +0000 (00:10 +0200)
commita852349be17183b56eea9bc8f3067b75fa778781
treee333882b197145bc0681181c8bd0a580ea40432e
parent77aaf0dabfc19fcc6569f1b730154823ada94b5f
Bug 18372 - transits are not created at check in despite user responsing Yes to the prompt

If the AutomaticItemReturn system preference is set to "Don't" and you
check in an item which belongs to another library, a dialog will ask you
if you want to transfer. This patch corrects a bug to enable the "Yes"
buttons to work, triggering the transfer.

To test, apply the patch and check in an item which belongs to another
library. In the dialog, click the 'Yes' button and confirm that the item
has been made 'in transit' to the correct library.

Perform the same test with the 'Yes, print slip' and 'No' buttons and
confirm they are working correctly.

Since this patch changes the behavior of many other popups triggered
from this template, test other operations which trigger a 'print slip'
option like:

- Checking in an item which is part of a rotating collection
- Checking in an item which is on hold for a patron

Signed-off-by: Colin Campbell <colin.campbell@ptfs-europe.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 07156cf8fd0f11eb43a11ffa7f75d4c95f3766df)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt