]> git.koha-community.org Git - koha.git/commit
Bug 17642: Add get_description_by_koha_field
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 16 Nov 2016 16:23:23 +0000 (17:23 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Nov 2016 15:52:00 +0000 (15:52 +0000)
commit4692cb4c2757a9e2dbc9d9e2d1daeb692f3e5c80
treebb48d551f8a2c110e14bc057f9715f430fb7b1c7
parentc45b26aea2bcd92dfb2353e5b55480169fa3b457
Bug 17642: Add get_description_by_koha_field

Most of the time we just need the descriptions (lib or
opac_description), so let's add a new method for that and cache the
descriptions in L1.
Ideally we should cache it in L2 as well, but the AV code is not robust
enough to allow that

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Koha/AuthorisedValues.pm
t/db_dependent/AuthorisedValues.t