diff --git a/Makefile.PL b/Makefile.PL index 1445690f85..f3996844c3 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -250,6 +250,7 @@ my $target_map = { './changelanguage.pl' => 'INTRANET_CGI_DIR', './check_sysprefs.pl' => 'NONE', './circ' => 'INTRANET_CGI_DIR', + './offline_circ' => 'INTRANET_CGI_DIR', './edithelp.pl' => 'INTRANET_CGI_DIR', './etc' => { target => 'KOHA_CONF_DIR', trimdir => -1 }, './etc/zebradb' => { target => 'ZEBRA_CONF_DIR', trimdir => -1 }, diff --git a/offline_circ/process_koc.pl b/offline_circ/process_koc.pl index 093d34ce43..87ae5c16e4 100755 --- a/offline_circ/process_koc.pl +++ b/offline_circ/process_koc.pl @@ -237,6 +237,7 @@ sub arguments_for_command { sub kocIssueItem { my $circ = shift; + $circ->{ 'barcode' } = barcodedecode($circ->{'barcode'}) if( $circ->{'barcode'} && C4::Context->preference('itemBarcodeInputFilter')); my $branchcode = C4::Context->userenv->{branch}; my $borrower = GetMember( $circ->{ 'cardnumber' }, 'cardnumber' ); my $item = GetBiblioFromItemNumber( undef, $circ->{ 'barcode' } ); @@ -321,6 +322,7 @@ sub kocIssueItem { sub kocReturnItem { my ( $circ ) = @_; + $circ->{'barcode'} = barcodedecode($circ->{'barcode'}) if( $circ->{'barcode'} && C4::Context->preference('itemBarcodeInputFilter')); my $item = GetBiblioFromItemNumber( undef, $circ->{ 'barcode' } ); #warn( Data::Dumper->Dump( [ $circ, $item ], [ qw( circ item ) ] ) ); my $borrowernumber = _get_borrowernumber_from_barcode( $circ->{'barcode'} );