Lines 219-225
if ( $op =~ /save/i ) {
Link Here
|
219 |
} |
219 |
} |
220 |
# empty fields, to avoid filter in "SearchSuggestion" |
220 |
# empty fields, to avoid filter in "SearchSuggestion" |
221 |
} |
221 |
} |
222 |
map{delete $$suggestion_ref{$_}} keys %$suggestion_ref; |
222 |
map{delete $$suggestion_ref{$_} unless $_ eq 'branchcode' } keys %$suggestion_ref; |
223 |
$op = 'else'; |
223 |
$op = 'else'; |
224 |
|
224 |
|
225 |
if( $redirect eq 'purchase_suggestions' ) { |
225 |
if( $redirect eq 'purchase_suggestions' ) { |
Lines 324-330
elsif ( $op eq 'show' ) {
Link Here
|
324 |
} |
324 |
} |
325 |
if ($op=~/else/) { |
325 |
if ($op=~/else/) { |
326 |
$op='else'; |
326 |
$op='else'; |
327 |
|
327 |
|
328 |
$displayby||="STATUS"; |
328 |
$displayby||="STATUS"; |
329 |
# distinct values of display by |
329 |
# distinct values of display by |
330 |
my $criteria_list=GetDistinctValues("suggestions.".$displayby); |
330 |
my $criteria_list=GetDistinctValues("suggestions.".$displayby); |
331 |
- |
|
|