Bug 8845: FIX dateonly is the 4th parameter, not 3rd!
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
This commit is contained in:
parent
f744c863c3
commit
d1817ab92d
|
|
@ -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" );
|
||||
|
|
|
|||
Loading…
Reference in New Issue