Bug 14874: Set default DefaultPatronSearchFields

just in case...

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
Jonathan Druart 2016-10-04 12:57:13 +01:00 committed by Kyle M Hall
parent 65ed212fae
commit 87f21ae245
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ sub search {
}
my $searchfields = {
standard => C4::Context->preference('DefaultPatronSearchFields'),
standard => C4::Context->preference('DefaultPatronSearchFields') || 'surname,firstname,othernames,cardnumber,userid',
surname => 'surname',
email => 'email,emailpro,B_email',
borrowernumber => 'borrowernumber',