[Koha-bugs] [Bug 6253] New: Unified Patron Search subroutine

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 22 15:55:27 CEST 2011


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

             Bug #: 6253
           Summary: Unified Patron Search subroutine
    Classification: Unclassified
 Change sponsored?: ---
           Product: Koha
           Version: rel_3_6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Patrons
        AssignedTo: ian.walls at bywatersolutions.com
        ReportedBy: ian.walls at bywatersolutions.com
         QAContact: koha-bugs at lists.koha-community.org
                CC: gmcharlt at gmail.com
        Depends on: 1707, 4340, 4945, 5266, 5595, 5730, 5945, 6127, 6217,
                    5676


Currently Koha uses two patron search routines, Search() and SearchMember(). 
SearchMember() is used in most places where a patron search is performed, and
does not respect Extended Attributes, branchcode/categorycode limits or paging
of results.  It does, however, return exact matches for cardnumbers quickly,
making it very desirable for Circulation.

Search() is only used on members/member.pl to do an in-depth search of patrons.
 It makes use of SQLHelper.pm, which gives us support for Extended Attributes
OR branchcode/categorycode limits (can't have both, it seems) and results
paging.  It's easy to add new fields from the borrowers table to search.

Koha should really only have 1 search routine for searching for patrons.  This
routine should support Extended Attributes, branchcode/categorycode limits and
pagination.  Exact matches on cardnumber OR unique, searchable Extended
Attributes should return immediately, without having to go through the full
search routine.  It should also be easy to configure which fields in the
borrowers table are searchable.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.


More information about the Koha-bugs mailing list