Bug 17253: Koha::AuthorisedValues - Remove GetKohaAuthorisedValues
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 31 Aug 2016 09:55:25 +0000 (10:55 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 21 Oct 2016 15:35:34 +0000 (15:35 +0000)
commitbaf78b2a332aa5416f7cbf2020609aa753debda2
tree131d62fd50796b18d6a7a8668ec7b5b68683c321
parentcd7b84f6754ca264070afcac6fc8cb65ea0f930e
Bug 17253: Koha::AuthorisedValues - Remove GetKohaAuthorisedValues

This patch replaces the call to C4::Koha::GetKohaAuthorisedValues with
Koha::AuthorisedValues->search_by_koha_field

Test plan:
AV descriptions should be displayed on the following pages:
- XSLT view - location and ccode
- Bibliographic detail, moredetail and OPAC pages - location, ccode, copynumber
- returns - location
- opac-basket - ccode, location
- The 3 reports: catalogue_stats.pl, issues_stats.pl and
  reserves_stats.pl - location, ccode

Signed-off-by: Claire Gravely <claire_gravely@hotmail.com>

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
13 files changed:
C4/Koha.pm
C4/Search.pm
C4/XSLT.pm
acqui/orderreceive.pl
basket/basket.pl
catalogue/detail.pl
catalogue/moredetail.pl
circ/returns.pl
opac/opac-basket.pl
opac/opac-detail.pl
reports/catalogue_stats.pl
reports/issues_stats.pl
reports/reserves_stats.pl