From dba9e76d6ecdb116948b4092fbb5b8ebc77a2ea1 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 9 Oct 2020 11:28:12 +0100 Subject: [PATCH] Bug 23695: (QA follow-up) Revert 'Orginating library' option At my request, we added an 'Originating library' option to the manual transfers form. However, we did not properly pass this through in the controller and I have since discovered that my request was ill conceived/a misunderstanding of requirements. This patch removes the option from the template and drops the references to it in the controller. Signed-off-by: Martin Renvoize --- circ/branchtransfers.pl | 2 -- .../intranet-tmpl/prog/en/modules/circ/branchtransfers.tt | 8 -------- 2 files changed, 10 deletions(-) diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl index f64d37fc76..ff59c03a5a 100755 --- a/circ/branchtransfers.pl +++ b/circ/branchtransfers.pl @@ -79,7 +79,6 @@ my $setwaiting; my $request = $query->param('request') || ''; my $borrowernumber = $query->param('borrowernumber') || 0; -my $frombranchcd = $query->param('frombranchcd') || C4::Context->userenv->{'branch'}; my $tobranchcd = $query->param('tobranchcd') || ''; my $ignoreRs = 0; @@ -223,7 +222,6 @@ $template->param( itemnumber => $itemnumber, barcode => $barcode, biblionumber => $biblionumber, - frombranchcd => $frombranchcd, tobranchcd => $tobranchcd, reqmessage => $reqmessage, cancelled => $cancelled, diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt index c9ba832d7b..859f6ab8df 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -72,7 +72,6 @@ - @@ -152,13 +151,6 @@
Transfer
    -
  1. - - -