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

(-)a/C4/Suggestions.pm (-2 / +1 lines)
Lines 150-156 sub SearchSuggestion { Link Here
150
        if ( defined $suggestion->{branchcode} && $suggestion->{branchcode} ) {
150
        if ( defined $suggestion->{branchcode} && $suggestion->{branchcode} ) {
151
            unless ( $suggestion->{branchcode} eq '__ANY__' ) {
151
            unless ( $suggestion->{branchcode} eq '__ANY__' ) {
152
                push @sql_params, $suggestion->{branchcode};
152
                push @sql_params, $suggestion->{branchcode};
153
                push @query,      qq{ AND suggestions.branchcode=? };
153
                push @query,      qq{ AND (suggestions.branchcode=? or suggestions.branchcode is null) };
154
            }
154
            }
155
        }
155
        }
156
    }
156
    }
157
- 

Return to bug 14830