[Koha-bugs] [Bug 17248] New: Koha::AuthorisedValues - Remove GetKohaAuthorisedValueLib

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 5 16:00:54 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17248

            Bug ID: 17248
           Summary: Koha::AuthorisedValues - Remove
                    GetKohaAuthorisedValueLib
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: enhancement
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: jonathan.druart at bugs.koha-community.org
          Reporter: jonathan.druart at bugs.koha-community.org
        QA Contact: testopia at bugs.koha-community.org
        Depends on: 17216
            Blocks: 15799

The subroutine C4::Koha::GetKohaAuthorisedValueLib just retrieves a description
(lib) for a given authorised value.

We can easily replace it using:
  Koha::AuthorisedValues->search({ category => $cat, authorised_value => $av
})->lib
or
  Koha::AuthorisedValues->search({ category => $cat, authorised_value => $av
})->opac_description


Referenced Bugs:

https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15799
[Bug 15799] Move authorised values related code into Koha::AuthorisedValues -
part 2
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17216
[Bug 17216] Add a new table to store authorized value categories
-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list