--- Comment #1 from Alex Buckley <> ---
Created attachment 72496
Bug 20346 - Server side patron filtering implemented

Server side (in the svc/members/search file) perl logic for filtering
results returned from patron searches checks all patron data fields for
a match with the filter value.

This filtering works in the following steps: when filtering is initiated
the original search using the original search query is run again and
then the filter value is used to filter the resulting data, thereby
using both the search and filter values to easily find a patron.

The submitted filter value is automatically checked against
every patron value in every patron record returned from the search and
so there is no need for a specific data value to be
selected with the select dropdown box id=searchfieldstype_filter and so
that select dropdown has been removed due to this redundancy.

This filter works for both filtering based on finding a match containing
the filter value and, filtering based on finding a match starting with
the filter value.

Test plan:
1. Go to /members/ and create 4 users. Make them all have
the same first and last name but vary the homebranch, email addresses
and dates of birth

2. Perform a search by writing in the first and last name combination
shared by the 4 users and you should get 4 results

3. Filter by writing in the email adrr

Sponsored-By: Catalyst IT

You are receiving this mail because:
You are watching all bug changes.
Koha-bugs mailing list
website :
git :
bugs :

Reply via email to