diff --git a/C4/Circulation.pm b/C4/Circulation.pm index 10db0d226a..f0e39b7583 100644 --- a/C4/Circulation.pm +++ b/C4/Circulation.pm @@ -375,10 +375,10 @@ sub transferbook { # That'll save a database query. my ( $resfound, $resrec, undef ) = CheckReserves( $itemnumber ); - if ( $resfound and not $ignoreRs ) { + if ( $resfound ) { $resrec->{'ResFound'} = $resfound; $messages->{'ResFound'} = $resrec; - $dotransfer = 1; + $dotransfer = 0 unless $ignoreRs; } #actually do the transfer.... diff --git a/circ/branchtransfers.pl b/circ/branchtransfers.pl index 59b4f24fec..bb508f77a0 100755 --- a/circ/branchtransfers.pl +++ b/circ/branchtransfers.pl @@ -127,7 +127,6 @@ defined $barcode and $barcode =~ s/^\s*|\s*$//g; # FIXME: barcodeInputFilter if ($barcode) { ( $transferred, $messages ) = - transferbook({ from_branch => C4::Context->userenv->{'branch'}, to_branch => $tobranchcd, @@ -136,7 +135,7 @@ if ($barcode) { trigger => 'Manual' }); my $item = Koha::Items->find({ barcode => $barcode }); - $found = $messages->{'ResFound'}; + $found = $messages->{'ResFound'} unless $settransit; if ($transferred) { my %trsfitem; my $frbranchcd = C4::Context->userenv->{'branch'}; 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 4aedfc4c97..2ee5e9e3bc 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/circ/branchtransfers.tt @@ -67,8 +67,8 @@ + [% IF ( waiting or transferred or processing ) %] - [% END %] @@ -93,7 +93,6 @@ -