Bug 20443: Remove UpdateBorrowerAttribute and SetBorrowerAttributes
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 13 Jul 2018 17:11:44 +0000 (14:11 -0300)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 23 Mar 2020 13:44:16 +0000 (13:44 +0000)
commitccfc6572f79eccbf8abae9c4645213ae6d33fa38
treeb6cae9f110d85d4fa5e9f26bd467f666112d4eac
parenta1e3a79913869619160cea7944b4ad653b8da9a4
Bug 20443: Remove UpdateBorrowerAttribute and SetBorrowerAttributes

This patch replace Koha::Patron->get_extended_attributes with
->extended_attributes
It's now a getter a setter method.

It permits to replace UpdateBorrowerAttribute and use
create_related from DBIx::Class

Notes:
* We face the same variable names difference than in a previous patch
(value vs attribute)

Bug 20443: Remove SetBorrowerAttributes

squash  + RM get_extended_attributes

 RM get_extended_attributes

SQUASH Bug 20443: Remove UpdateBorrowerAttribute and SetBorrowerAttribute

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
18 files changed:
C4/Auth_with_ldap.pm
C4/ILSDI/Services.pm
C4/Letters.pm
C4/Members.pm
C4/Members/Attributes.pm
Koha/Patron.pm
Koha/Patrons/Import.pm
koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc
members/memberentry.pl
members/moremember.pl
opac/opac-memberentry.pl
t/db_dependent/Auth_with_ldap.t
t/db_dependent/Koha/Patron/Modifications.t
t/db_dependent/Koha/Patrons.t
t/db_dependent/Koha/Patrons/Import.t
t/db_dependent/Members/Attributes.t
t/db_dependent/Utils/Datatables_Members.t
tools/modborrowers.pl