Lines 411-419
if ($op=~/else/) {
Link Here
|
411 |
|| $search_params->{$f} eq ''; |
411 |
|| $search_params->{$f} eq ''; |
412 |
} |
412 |
} |
413 |
|
413 |
|
414 |
my @suggestions = |
414 |
$search_params->{archived} = 0 if !$filter_archived; |
415 |
Koha::Suggestions->search_limited( |
415 |
my @suggestions = Koha::Suggestions->search_limited($search_params)->as_list; |
416 |
{ %$search_params, archived => $filter_archived } )->as_list; |
|
|
417 |
|
416 |
|
418 |
push @allsuggestions, |
417 |
push @allsuggestions, |
419 |
{ |
418 |
{ |
420 |
- |
|
|