Bugzilla – Attachment 125764 Details for
Bug 26351
Add plugin hooks to transform item barcodes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26351: Add missing barcodedecode import
Bug-26351-Add-missing-barcodedecode-import.patch (text/plain), 2.77 KB, created by
Jonathan Druart
on 2021-10-06 10:08:33 UTC
(
hide
)
Description:
Bug 26351: Add missing barcodedecode import
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2021-10-06 10:08:33 UTC
Size:
2.77 KB
patch
obsolete
>From cf0de6575e2b1e897a91983e20e96eaa01e86cdb Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 6 Oct 2021 12:07:07 +0200 >Subject: [PATCH] Bug 26351: Add missing barcodedecode import > >--- > Koha/Item.pm | 2 +- > cataloguing/additem.pl | 2 +- > opac/sco/sco-main.pl | 2 +- > tools/batchMod.pl | 2 +- > tools/inventory.pl | 2 +- > 5 files changed, 5 insertions(+), 5 deletions(-) > >diff --git a/Koha/Item.pm b/Koha/Item.pm >index 5d40bea73c7..6ea5f549eec 100644 >--- a/Koha/Item.pm >+++ b/Koha/Item.pm >@@ -26,7 +26,7 @@ use Koha::Database; > use Koha::DateUtils qw( dt_from_string ); > > use C4::Context; >-use C4::Circulation qw( GetBranchItemRule ); >+use C4::Circulation qw( barcodedecode GetBranchItemRule ); > use C4::Reserves; > use C4::ClassSource qw( GetClassSort ); > use C4::Log qw( logaction ); >diff --git a/cataloguing/additem.pl b/cataloguing/additem.pl >index 9f2360c0707..13006696b9a 100755 >--- a/cataloguing/additem.pl >+++ b/cataloguing/additem.pl >@@ -37,7 +37,7 @@ use C4::Biblio qw( > ); > use C4::Items qw( AddItemFromMarc ModItemFromMarc ); > use C4::Context; >-use C4::Circulation qw( LostItem ); >+use C4::Circulation qw( barcodedecode LostItem ); > use C4::Koha qw( GetAuthorisedValues ); > use C4::ClassSource qw( GetClassSources GetClassSource ); > use Koha::DateUtils qw( dt_from_string ); >diff --git a/opac/sco/sco-main.pl b/opac/sco/sco-main.pl >index 6c9ad1c245f..df3d619e57e 100755 >--- a/opac/sco/sco-main.pl >+++ b/opac/sco/sco-main.pl >@@ -36,7 +36,7 @@ use Modern::Perl; > use CGI qw ( -utf8 ); > > use C4::Auth qw( in_iprange get_template_and_user checkpw ); >-use C4::Circulation qw( AddReturn CanBookBeIssued AddIssue CanBookBeRenewed AddRenewal ); >+use C4::Circulation qw( barcodedecode AddReturn CanBookBeIssued AddIssue CanBookBeRenewed AddRenewal ); > use C4::Reserves; > use C4::Output qw( output_html_with_http_headers ); > use C4::Members; >diff --git a/tools/batchMod.pl b/tools/batchMod.pl >index e8c60d315e2..d7d3110ed9d 100755 >--- a/tools/batchMod.pl >+++ b/tools/batchMod.pl >@@ -33,7 +33,7 @@ use C4::Biblio qw( > TransformHtmlToXml > ); > use C4::Items qw( GetItemsInfo Item2Marc ModItemFromMarc ); >-use C4::Circulation qw( LostItem IsItemIssued ); >+use C4::Circulation qw( barcodedecode LostItem IsItemIssued ); > use C4::Context; > use C4::Koha; > use C4::BackgroundJob; >diff --git a/tools/inventory.pl b/tools/inventory.pl >index 4d66352bca0..7e77866cb77 100755 >--- a/tools/inventory.pl >+++ b/tools/inventory.pl >@@ -31,7 +31,7 @@ use C4::Context; > use C4::Output qw( output_html_with_http_headers ); > use C4::Items qw( GetItemsForInventory ); > use C4::Koha qw( GetAuthorisedValues ); >-use C4::Circulation qw( AddReturn ); >+use C4::Circulation qw( barcodedecode AddReturn ); > use C4::Reports::Guided qw( ); > use C4::Charset qw( NormalizeString ); > >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 26351
:
109532
|
109548
|
109671
|
110844
|
110846
|
111575
|
111577
|
111578
|
111579
|
111862
|
111863
|
111894
|
111916
|
111917
|
111918
|
111919
|
111920
|
111921
|
111922
|
113571
|
113572
|
113573
|
113574
|
113575
|
113576
|
113577
|
113578
|
115172
|
115173
|
115174
|
115175
|
115176
|
115177
|
115178
|
115179
|
115180
|
118649
|
118650
|
118651
|
118652
|
118653
|
118654
|
118655
|
118656
|
118657
|
118658
|
118681
|
118682
|
118683
|
118684
|
118685
|
118686
|
118687
|
118688
|
118689
|
118690
|
122433
|
122434
|
122435
|
122436
|
122437
|
122438
|
122439
|
122440
|
122441
|
122442
|
124258
|
124259
|
124260
|
124261
|
124262
|
124263
|
124264
|
124265
|
124266
|
124313
|
125447
|
125763
|
125764
|
125765