|
Lines 360-366
sub _filter_hash{
Link Here
|
| 360 |
## supposed to be a hash of simple values, hashes of arrays could be implemented |
360 |
## supposed to be a hash of simple values, hashes of arrays could be implemented |
| 361 |
$filter_input->{$field}=format_date_in_iso($filter_input->{$field}) |
361 |
$filter_input->{$field}=format_date_in_iso($filter_input->{$field}) |
| 362 |
if $columns->{$field}{Type}=~/date/ && |
362 |
if $columns->{$field}{Type}=~/date/ && |
| 363 |
$filter_input->{$field} && $filter_input->{$field} !~C4::Dates->regexp("iso"); |
363 |
$filter_input->{$field} !~C4::Dates->regexp("iso"); |
| 364 |
my ($tmpkeys, $localvalues)=_Process_Operands($filter_input->{$field},"$tablename.$field",$searchtype,$columns); |
364 |
my ($tmpkeys, $localvalues)=_Process_Operands($filter_input->{$field},"$tablename.$field",$searchtype,$columns); |
| 365 |
if (@$tmpkeys){ |
365 |
if (@$tmpkeys){ |
| 366 |
push @values, @$localvalues; |
366 |
push @values, @$localvalues; |
| 367 |
- |
|
|