From 25ba9c1a4f447f242036084577ae28e8ad9a4a2a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 22 Feb 2022 16:15:11 +0000 Subject: [PATCH] Bug 25616: (QA follow-up) Catch a case in labels/label-item-search.pl Signed-off-by: Martin Renvoize --- labels/label-item-search.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/labels/label-item-search.pl b/labels/label-item-search.pl index 161fca443b..b07be0aa47 100755 --- a/labels/label-item-search.pl +++ b/labels/label-item-search.pl @@ -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; } } -- 2.20.1