]> git.koha-community.org Git - koha.git/commit
Bug 18277: Remove GetBiblionumberFromItemnumber - Easy ones
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 15 Mar 2017 15:28:13 +0000 (12:28 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 10 Jul 2017 16:03:37 +0000 (13:03 -0300)
commitfa467223eaedc2a6a09f0796ae57463de573d832
tree84ace3972db54ea7377b18faa706a161b12cc33f
parenteed1447a63b9e3d80fcb8171b5d2bfde3994e554
Bug 18277: Remove GetBiblionumberFromItemnumber - Easy ones

To retrieve a biblionumber from an itemnumber, we can use:
  Koha::Item->biblio->biblionumber

This is only what this patchset does.
Doing that we will be able to get rid of the
C4::Biblio::GetBiblionumberFromItemnumber subroutine.

Test plan:
- Acquisition module: cancel a receipt
- Export a record to CSV
- Modify items in a batch

Item's info should be correct

Other changes with be checked by QA team, by reading the code.

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Acquisition.pm
C4/Items.pm
C4/Record.pm
Koha/REST/V1/Hold.pm
cataloguing/additem.pl
opac/opac-reserve.pl
tools/batchMod.pl