Koha/labels
Jonathan Druart 2b1b168ec4 Bug 21183: Replace C4::Items::GetItemnumberFromBarcode calls
C4::Items::GetItemnumberFromBarcode calls can be replaced with
  Koha::Items->find({ barcode => $barcode });

We should make sure the barcode existed in DB and so that ->find
returns an object. Note that most of the time we just wanted to know if
the barcode existed.
The changes are very simple, the only one that need attention is
the one in batchMod.pl. It is basically reusing what we did on
bug 21141.

Test plan:
Use the batch item modification/deletion tools to modify/delete items
from their barcode (using the textarea or a file)

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-08-30 13:40:35 +00:00
..
label-create-csv.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00
label-create-pdf.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00
label-create-xml.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00
label-edit-batch.pl Bug 21183: Replace C4::Items::GetItemnumberFromBarcode calls 2018-08-30 13:40:35 +00:00
label-edit-layout.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00
label-edit-profile.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00
label-edit-template.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00
label-home.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00
label-item-search.pl Bug 18403: Update permissions - borrowers => 1|* becomes borrowers => 'edit_borrowers' 2018-02-12 15:41:37 -03:00
label-manage.pl
label-print.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00
spinelabel-home.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00
spinelabel-print.pl Bug 19999: use Modern::Perl in label scripts 2018-02-05 09:45:48 -03:00