View | Details | Raw Unified | Return to bug 14923
Collapse All | Expand All

(-)a/labels/label-item-search.pl (-5 / +4 lines)
Lines 78-85 if ( $op eq "do_search" ) { Link Here
78
    $dateto   = $query->param('dateto');
78
    $dateto   = $query->param('dateto');
79
79
80
    if ($datefrom) {
80
    if ($datefrom) {
81
        if ( is_formatted_date_string( $datefrom ) ) {
81
        $datefrom = eval { output_pref({ dt => dt_from_string( $datefrom ), dateformat => 'iso', dateonly => 1 }); };
82
            $datefrom = output_pref({ dt => dt_from_string( $datefrom ), dateformat => 'iso', dateonly => 1 });
82
        if ($datefrom ) {
83
            if ($QParser) {
83
            if ($QParser) {
84
                $ccl_query .= ' && ' if $ccl_textbox;
84
                $ccl_query .= ' && ' if $ccl_textbox;
85
                $ccl_query .=
85
                $ccl_query .=
Lines 93-100 if ( $op eq "do_search" ) { Link Here
93
    }
93
    }
94
94
95
    if ($dateto) {
95
    if ($dateto) {
96
        if ( is_formatted_date_string( $datefrom ) ) {
96
        $dateto = eval { output_pref({ dt => dt_from_string( $dateto ), dateformat => 'iso', dateonly => 1 }); };
97
            $dateto = output_pref({ dt => dt_from_string( $dateto ), dateformat => 'iso', dateonly => 1 });
97
        if ($dateto ) {
98
            if ($QParser) {
98
            if ($QParser) {
99
                $ccl_query .= ' && ' if ( $ccl_textbox || $datefrom );
99
                $ccl_query .= ' && ' if ( $ccl_textbox || $datefrom );
100
                $ccl_query .= "acqdate(-" . $dateto . ')';
100
                $ccl_query .= "acqdate(-" . $dateto . ')';
101
- 

Return to bug 14923