From 6055a519c4474ab3b9004ed99b9b2e76c9735076 Mon Sep 17 00:00:00 2001 From: Christopher Brannon Date: Thu, 1 Nov 2018 21:08:19 +0000 Subject: [PATCH] Bug 21346: Remove double dialog To Test: 1) Place a hold on an item for pickup at another branch. 2) Check in item to trigger hold and transfer. 3) Check in item again without changing location. Note modal AND old dialog behind modal. 4) Apply patch. 5) Check in item again without changing location. Note modal without the old dialog. Signed-off-by: Lisette Signed-off-by: Liz Rea Signed-off-by: Kyle M Hall Signed-off-by: Nick Clemens (cherry picked from commit 230905e1d56a11cf5619f95c95920eb09803900c) Signed-off-by: Martin Renvoize --- koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt index 0a7a499332..c39f8b0aba 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/returns.tt @@ -171,7 +171,7 @@ [% END %] -[% IF ( WrongTransfer ) %] +[% IF ( WrongTransfer && !transfertodo ) %]

Please return item to: [% Branches.GetName( TransferWaitingAt ) | html %]

-- 2.39.5