[Koha-bugs] [Bug 12633] SQLHelper replacement - C4::Members

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 21 17:35:31 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12633

Mirko Tietgen <mirko at abunchofthings.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #37751|0                           |1
        is obsolete|                            |

--- Comment #27 from Mirko Tietgen <mirko at abunchofthings.net> ---
Created attachment 38284
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=38284&action=edit
Bug 12633: Remove SQLHelper in C4::Members

This is the only places where SQLHelper is still called.
The C4::Members::Search is not used anymore, but ModMember and
AddMember.

This patch replaced the calls to SQLHelper to use DBIX::Class.
TODO: Move them to Koha::Borrower.

Test plan:
1/ Make sure the patron search still works (no changes expected since the
code was not in used).
2/ Add a patron with all fields filled
3/ Add another patron with some fields filled
4/ Update them with other values
5/ Delete them

You should not get any errors.

Signed-off-by: Mirko Tietgen <mirko at abunchofthings.net>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list