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 |
- |
|
|