Bug 20443: Move GetBorrowerAttributeValue to Koha::Patron->get_extended_attribute_value
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 12 Jul 2018 20:20:57 +0000 (17:20 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Mar 2020 13:39:16 +0000 (13:39 +0000)
commit1dc9daf5b373a5d8f80fa5f7e3880cff239201c5
tree77c097c4ce1a508e9b09a95c0d7f6c64e16b2ac4
parent37f464e1cf716db97b5b07b5b82811f0d5f64e63
Bug 20443: Move GetBorrowerAttributeValue to Koha::Patron->get_extended_attribute_value

We want to retrieve a specific patron's attribute for a given patron.
We then add a new method to Koha::Patron.

This patch add a getter method ->get_extended_attribute_value
to use the DBIx::Class relation

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
C4/Members/Attributes.pm
Koha/Patron.pm
opac/opac-user.pl
t/db_dependent/Auth_with_ldap.t
t/db_dependent/Koha/Patrons.t
t/db_dependent/Members/Attributes.t