From 7bfc8fb3c18f5e76605a77e3da7f7456c790c28d Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Wed, 15 Feb 2012 10:44:20 -0500 Subject: [PATCH] Bug 7544 - Add ability search borrowers only on email / phone This commit adds a new pulldown field to the patron quick search. This pulldown "Search Fields" can have any number of field combinations to search on. The combinations added in this commit are: Standard: Default, searches on original fields Email: Searches on email, emailpro, and B_email Borrower Number: Searches on borrowernumber Phone Number: Searches on phone, phonepro, B_phone, altcontactphone, and mobile Signed-off-by: Nicole C. Engard Tested by running searches on all the new fields, and the old fields with limits on branch and category. The seach on phone number could be a bit more inclusive, but it works with and without symbols so I give my sign off on this patch. --- .../prog/en/includes/patron-search.inc | 11 ++++++++++- members/member.pl | 5 ++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc index 5376e87..17a212f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron-search.inc @@ -53,7 +53,16 @@ YAHOO.util.Event.onContentReady("header_search", function() { [-] [+] [% END %] - order by: + + + + +