Bug 8845: FIX dateonly is the 4th parameter, not 3rd!

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
Jonathan Druart 2013-05-30 12:15:43 +02:00 committed by Galen Charlton
parent f744c863c3
commit d1817ab92d
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ if ($member || keys %$patron) {
my @searchfields = $searchfields ? split( ',', $searchfields ) : ( "firstname", "surname", "othernames", "cardnumber", "userid", "email" );
if ( $searchfields eq "dateofbirth" ) {
$member = output_pref(dt_from_string($member), 'iso', 1);
$member = output_pref(dt_from_string($member), 'iso', undef, 1);
}
my $search_scope = ( $quicksearch ? "field_start_with" : "start_with" );