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

(-)a/labels/label-item-search.pl (-3 / +2 lines)
Lines 70-76 if ( $op eq "do_search" ) { Link Here
70
        $datefrom = eval { dt_from_string ( $datefrom ) };
70
        $datefrom = eval { dt_from_string ( $datefrom ) };
71
        if ($datefrom) {
71
        if ($datefrom) {
72
            $datefrom = output_pref( { dt => $datefrom, dateonly => 1, dateformat => 'iso' } );
72
            $datefrom = output_pref( { dt => $datefrom, dateonly => 1, dateformat => 'iso' } );
73
            $ccl_query .= ' and ' if $ccl_textbox;
73
            $ccl_query .= ' AND ' if $ccl_textbox;
74
            $ccl_query .= "acqdate,ge,st-date-normalized=" . $datefrom;
74
            $ccl_query .= "acqdate,ge,st-date-normalized=" . $datefrom;
75
        }
75
        }
76
    }
76
    }
Lines 79-85 if ( $op eq "do_search" ) { Link Here
79
        $dateto = eval { dt_from_string ( $dateto ) };
79
        $dateto = eval { dt_from_string ( $dateto ) };
80
        if ($dateto) {
80
        if ($dateto) {
81
           $dateto = output_pref( { dt => $dateto, dateonly => 1, dateformat => 'iso' } );
81
           $dateto = output_pref( { dt => $dateto, dateonly => 1, dateformat => 'iso' } );
82
            $ccl_query .= ' and ' if ( $ccl_textbox || $datefrom );
82
            $ccl_query .= ' AND ' if ( $ccl_textbox || $datefrom );
83
            $ccl_query .= "acqdate,le,st-date-normalized=" . $dateto;
83
            $ccl_query .= "acqdate,le,st-date-normalized=" . $dateto;
84
        }
84
        }
85
    }
85
    }
86
- 

Return to bug 25616