Koha-clms/t/db_dependent
Srdjan Jankovic 18b8991cf1 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>
2011-10-19 16:23:02 +13:00
..
LDAP DB-dependent tests moved 2008-01-08 14:07:38 -06:00
Labels Bug 5284 - Generic report covering various problems with the labels/patron card tests 2010-10-06 13:33:16 -04:00
lib bug_6253: Unified member Search() 2011-10-19 16:23:02 +13:00
needs_user_input Shifting the tests that need user input to their own directory, they cant be used by the automated tester 2010-10-06 07:58:35 -04:00
Accounts.t Bug 5327 Made test file for Accounts.pm 2011-01-20 19:57:50 +13:00
Acquisition.t Bug5063: C4::Bookseller Changes 2011-03-12 08:42:26 +13:00
Amazon.t Bug 5327 - Now we are doing db calls, we need to shift this to t/db_dependent 2011-01-19 13:38:52 +13:00
Auth.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Auth_with_cas.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
BackgroundJob.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Barcodes.t Temporary fix for bug 2483: t/Barcodes.t has database dependent tests in it 2008-08-09 06:49:21 -05:00
Biblio.t Add unit tests to ensure bug 5683 doesn't reappear 2011-06-02 08:46:40 +12:00
Budgets.t cleanup of DB-dependent fund test cases 2010-10-06 11:13:07 -04:00
Context.t more test case fixes 2010-10-06 11:56:32 -04:00
External_BakerTaylor.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Koha.t bug_6253: Unified member Search() 2011-10-19 16:23:02 +13:00
Log.t Fixing a broken test 2011-09-26 11:55:58 +13:00
Members.t bug_6253: Unified member Search() 2011-10-19 16:23:02 +13:00
Record.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Reports_Guided.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Reserves.t Test Improvements : Adding Reserves.t 2010-01-28 15:11:49 +01:00
SQLHelper.t fix invalid invocation of GetBranches in test case 2010-10-06 12:54:21 -04:00
Search.t fix test plan and false test errors in Search.t 2010-10-06 09:51:55 -04:00
Serials.t MT1883 : Serials enddate was not cleanly used 2009-11-11 14:00:11 +01:00
Serials_2.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Service.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
Suggestions.t Editing C4::Suggestions.pm 2009-09-30 11:29:23 +02:00
Tags.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
UploadedFile.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
VirtualShelves.t fix typo/thinko in list test 2010-10-06 10:55:44 -04:00
VirtualShelves_Page.t Bug 5477 [SIGN-OFF] Fix test cases that require database access 2011-01-29 17:02:31 +13:00
XISBN.t Bug 5327 Cleaning up XISBN.t a bit 2011-01-18 22:52:02 +13:00
database_dependent.pl Bug 5327 shifting database dependent modules and scripts to t/db_dependent 2011-01-18 16:18:37 +13:00