|
Lines 290-295
elsif ($op eq "update_status" ) {
Link Here
|
| 290 |
} |
290 |
} |
| 291 |
redirect_with_params($input); |
291 |
redirect_with_params($input); |
| 292 |
} |
292 |
} |
|
|
293 |
elsif ($op eq "archive" ) { |
| 294 |
Koha::Suggestions->find($_)->update({ archived => 1 }) for @editsuggestions; |
| 295 |
|
| 296 |
redirect_with_params($input); |
| 297 |
} |
| 298 |
elsif ($op eq "unarchive" ) { |
| 299 |
Koha::Suggestions->find($_)->update({ archived => 0 }) for @editsuggestions; |
| 300 |
|
| 301 |
redirect_with_params($input); |
| 302 |
} |
| 293 |
elsif ( $op eq 'update_itemtype' ) { |
303 |
elsif ( $op eq 'update_itemtype' ) { |
| 294 |
my $new_itemtype = $input->param('suggestion_itemtype'); |
304 |
my $new_itemtype = $input->param('suggestion_itemtype'); |
| 295 |
foreach my $suggestionid (@editsuggestions) { |
305 |
foreach my $suggestionid (@editsuggestions) { |
| 296 |
- |
|
|