Bug 25616: [21.11.x] (QA follow-up) Catch a case in labels/label-item-search.pl
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
a4150aa8ce
commit
6a23243b91
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ if ( $op eq "do_search" ) {
|
|||
$datefrom = eval { dt_from_string ( $datefrom ) };
|
||||
if ($datefrom) {
|
||||
$datefrom = output_pref( { dt => $datefrom, dateonly => 1, dateformat => 'iso' } );
|
||||
$ccl_query .= ' and ' if $ccl_textbox;
|
||||
$ccl_query .= ' AND ' if $ccl_textbox;
|
||||
$ccl_query .= "acqdate,ge,st-date-normalized=" . $datefrom;
|
||||
}
|
||||
}
|
||||
|
@ -79,7 +79,7 @@ if ( $op eq "do_search" ) {
|
|||
$dateto = eval { dt_from_string ( $dateto ) };
|
||||
if ($dateto) {
|
||||
$dateto = output_pref( { dt => $dateto, dateonly => 1, dateformat => 'iso' } );
|
||||
$ccl_query .= ' and ' if ( $ccl_textbox || $datefrom );
|
||||
$ccl_query .= ' AND ' if ( $ccl_textbox || $datefrom );
|
||||
$ccl_query .= "acqdate,le,st-date-normalized=" . $dateto;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue