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

(-)a/Koha/AdditionalContents.pm (-1 / +1 lines)
Lines 75-80 sub search_for_display { Link Here
75
    $search_params->{published_on} = { '<=' => \'CAST(NOW() AS DATE)' };
75
    $search_params->{published_on} = { '<=' => \'CAST(NOW() AS DATE)' };
76
    $search_params->{-or} = [ expirationdate => { '>=' => \'CAST(NOW() AS DATE)' },
76
    $search_params->{-or} = [ expirationdate => { '>=' => \'CAST(NOW() AS DATE)' },
77
                              expirationdate => undef ];
77
                              expirationdate => undef ];
78
    $search_params->{category} = $params->{category} if $params->{category};
78
79
79
    if ( $params->{lang} ) {
80
    if ( $params->{lang} ) {
80
        # FIXME I am failing to translate the following query
81
        # FIXME I am failing to translate the following query
81
- 

Return to bug 15326