From c023f63abcce53d71c9492aea4bc7aa30fdc5d73 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 Signed-off-by: Fridolin Somers --- 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.39.5