Koha/svc
Jonathan Druart 62a075987a Bug 21184: Replace C4::Items::GetBarcodeFromItemnumber calls
Those calls to C4::Items::GetBarcodeFromItemnumber can be replaced with
    my $barcode = Koha::Items->find($itemnumber)->barcode;
But if we are not sure that the item exists, we should test the return
of ->find before ->barcode

Test plan:
- Edit an item
- Check an item in

- Test SIP - I do not really know how to trigger that code, apparently
misc/sip_cli_emulator.pl does not deal with holds. Any ideas?

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

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2018-08-31 10:15:23 +00:00
..
cataloguing
club
config
hold
letters
members
records
virtualshelves
article_request
authentication
barcode Bug 20676: svc/barcode should allow barcode to be printed without text 2018-06-22 16:34:53 +00:00
bib
bib_profile
checkin Bug 21184: Replace C4::Items::GetBarcodeFromItemnumber calls 2018-08-31 10:15:23 +00:00
checkout_notes Bug 17698: Make patron notes show up on staff dashboard 2018-07-23 15:23:40 +00:00
checkouts Bug 19719: (follow-up) Show description instead of code 2018-08-22 13:22:18 +00:00
convert_report Bug 20495: Remove get_saved_report 2018-07-02 12:06:54 +00:00
cover_images
holds
import_bib
localization
new_bib
renew
report Bug 20495: (follow-up) Correct search for report by name 2018-07-02 12:06:54 +00:00