How to set the default search method for patron accounts

How to set the default search method for patron accounts

 

When searching for a patron it is possible to set the process to automatically search the term only if an entry starts with the information or to search for any instance of the search term, in any order in a patron account.

Set the DefaultPatronSearchMethod system preference

Navigate to Koha administration > System Preferences and search for DefaultPatronSearchMethod.

This will bring up a system preference of the same name. 

This system preference can be set to Contains (Enable this search method to determine whether to use 'search with' or 'contains' for all patron searches, including auto-complete) or Starts with (Enable this search method to determine whether to use 'search with' or 'contains' for all patron searches, including auto-complete) .

Contains Enable this search method to determine whether to use 'starts with' or 'contains' for all patron searches, including auto-complete.

Set the system preference to Contains (Enable this search method to determine whether to use 'search with' or 'contains' for all patron searches, including auto-complete) and click Save all Patrons preferences


This will set the patron search option both in the search bar at the top of the page and under the Patrons module to search all the content of the patron accounts for any instance of the search term in any order. 


Starts with Enable this search method to determine whether to use 'starts with' or 'contains' for all patron searches, including auto-complete.

Set the system preference to Starts with (Enable this search method to determine whether to use 'search with' or 'contains' for all patron searches, including auto-complete) and click Save all Patrons preferences

This will set the patron search option both in the search bar at the top of the page and under the Patrons module to search all the content of the patron accounts for the search term but only bring back results where the search term appears at the start of the information string. 
Example of search:


VersionDateDetailAuthor
1.026/02/26Document createdHolly Cooper
1.106/03/26Adding detailsHolly Cooper





















    • Related Articles

    • How to define the preferred contact method for a patron

      It is possible for patrons to have multiple methods of contact, including phone numbers, email and fax, in addition to secondary options for all mediums. This document will outline how to flag on the patron account which of these methods should be ...
    • Options for expired patrons

      This document will outline what it means when a patron account is expired and what options there are for how expired patrons are treated on the system. What is patron expiry? When a patron is created on the system, their account is automatically ...
    • How to Batch Edit Extended Patron Attributes

      This document outlines how to perform a batch patron modification for extended patron attributes. Extended patron attributes capture non - standard information about patrons and for more information about them please see our Help Centre. Step 1 - ...
    • How to set a default value for a field

      Koha frameworks shape MARC21 into workforms of information library staff can use to create records for their catalogue. The fields in these workforms can be edited in a variety of ways through the associated framework. This document will outline how ...
    • How to require strong passwords for patron accounts

      A password is required to be able to log into a patron account. This document will outline the system preferences that determine the required length and strength of a password on a patron account, as well as options for setting exceptions to these ...