Bug 10834 - Add Sort 1 and Sort 2 to list of searchable patron fields

Some libraries would like to be able to search on the sort1 and sort2
fields of patron records.

Test Plan:
1) Apply this patch
2) Add various values for sort1 and sort2 some patrons
3) Browse to members-home.pl
4) Run searches on sort1 and sort2

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit 53c4129027)
Signed-off-by: Fridolin SOMERS <fridolin.somers@biblibre.com>
This commit is contained in:
Kyle M Hall 2013-09-06 12:54:40 -04:00 committed by Fridolin SOMERS
parent 8bd71415f1
commit 25cbbcff34
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@
<option value='phone,phonepro,B_phone,altcontactphone,mobile'>Phone number</option>
<option value='streettype,address,address2,city,state,zipcode,country'>Street Address</option>
<option value='dateofbirth'>Date of birth</option>
<option value='sort1'>Sort field 1</option>
<option value='sort2'>Sort field 2</option>
</select>
<script type="text/javascript">
[% SET dateformat = Koha.Preference('dateformat') %]