Bug 11730: ensure that C4::Charset loads C4::Context
[koha_fer] / labels / label-item-search.pl
index eeb46f8..a9a1805 100755 (executable)
@@ -97,7 +97,7 @@ if ( $op eq "do_search" ) {
             $ccl_query .= "acqdate(-" . $dateto->output("iso") . ')';
         } else {
             $ccl_query .= ' and ' if ( $ccl_textbox || $datefrom );
-            $ccl_query .= "acqdate,st-date-normalized,le=" . $datefrom->output("iso");
+            $ccl_query .= "acqdate,st-date-normalized,le=" . $dateto->output("iso");
         }
     }