[Koha-bugs] [Bug 17829] Move GetMember to Koha::Patron
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 10 17:23:42 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17829
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #64872|0 |1
is obsolete| |
--- Comment #13 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 64971
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=64971&action=edit
Bug 17829: Move GetMember to Koha::Patron
GetMember returned a patron given a borrowernumber, cardnumber or
userid.
All of these 3 attributes are defined as a unique key at the DB level
and so we can use Koha::Patrons->find to replace this subroutine.
Additionaly GetMember set category_type and description.
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list