Koha-clms/patroncards
Srdjan Jankovic a82959ed04 bug_6253: Unified member Search()
Removed SearchMembers() and replaced with more generic Search()
Amended Search() to try cardnumber first
Replaced SearchMembers() calls with Search()
Replaced SELECT with Search() where appropriate
C4::SQLHelper:
- added support for '' key for search filter.
- when passing an array to filter, join with OR (rather than AND)
- added support for key => [val1, val2] in filter
- did not document - there was no input documentation to start with,
  and SQLHelper should be replaced with something better anyway

Signed-off-by: Liz Rea <lrea@nekls.org>
(again - testing merge issue)
The functionality of the patch seems to be maintained with Biblibre's changes.

I tested the following:
Extended attribute searching: works
3 part name searching: works
2 part name searching: works
1 part name searching: works

From:
mainpage.pl
members-home.pl
	Patron search limited by branch: Works
	Patron search limited by patron category: works
	Ordering by cardnumber instead of surname: works
The "Check Out" field in the masthead.

Circ Autocomplete is not reliably functional at this time, but the problem appears to predate this patch.
Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
(cherry picked from commit 18b8991cf1)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
2011-10-25 19:32:30 -04:00
..
card-print.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
create-pdf.pl Bug 6643 -- Able to download patron card batches as an unauthorized user 2011-08-01 12:40:04 -04:00
edit-batch.pl Bug 6733: change branchcode call in Labels to use userenv instead of LoginBranchname 2011-10-08 17:47:06 -04:00
edit-layout.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
edit-profile.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
edit-template.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
home.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
image-manage.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00
manage.pl Bug 6733: change branchcode call in Labels to use userenv instead of LoginBranchname 2011-10-08 17:47:06 -04:00
members-search.pl bug_6253: Unified member Search() 2011-10-25 19:32:30 -04:00
print.pl Fix FSF address in directory patroncards/ 2010-03-16 20:17:55 -04:00