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)
committerMason James <mtj@kohaaloha.com>
Sun, 30 Apr 2017 11:19:56 +0000 (23:19 +1200)
commit71107ee25f805a64c3bd2896f48955aeee573bcc
tree20ff8f3a19e38028a114137687d7bfb739d4c804
parenta6315f2f4423a9b90203db72f74f69bfaa31815e
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: Mason James <mtj@kohaaloha.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt