Lines 39-49
my $input = new CGI;
Link Here
|
39 |
my $dbh = C4::Context->dbh; |
39 |
my $dbh = C4::Context->dbh; |
40 |
my $error = $input->param('error'); |
40 |
my $error = $input->param('error'); |
41 |
my @itemnumbers = $input->param('itemnumber'); |
41 |
my @itemnumbers = $input->param('itemnumber'); |
|
|
42 |
my $biblionumber = $input->param('biblionumber'); |
42 |
my $op = $input->param('op'); |
43 |
my $op = $input->param('op'); |
43 |
my $del = $input->param('del'); |
44 |
my $del = $input->param('del'); |
44 |
my $del_records = $input->param('del_records'); |
45 |
my $del_records = $input->param('del_records'); |
45 |
my $completedJobID = $input->param('completedJobID'); |
46 |
my $completedJobID = $input->param('completedJobID'); |
46 |
my $runinbackground = $input->param('runinbackground'); |
47 |
my $runinbackground = $input->param('runinbackground'); |
|
|
48 |
my $src = $input->param('src'); |
47 |
|
49 |
|
48 |
|
50 |
|
49 |
my $template_name; |
51 |
my $template_name; |
Lines 229-234
if ($op eq "show"){
Link Here
|
229 |
@itemnumbers = @contentlist; |
231 |
@itemnumbers = @contentlist; |
230 |
} |
232 |
} |
231 |
} else { |
233 |
} else { |
|
|
234 |
if (defined $biblionumber){ |
235 |
my @all_items = GetItemsInfo( $biblionumber ); |
236 |
foreach my $itm (@all_items) { |
237 |
push @itemnumbers, $itm->{itemnumber}; |
238 |
} |
239 |
} |
232 |
if ( my $list=$input->param('barcodelist')){ |
240 |
if ( my $list=$input->param('barcodelist')){ |
233 |
push my @barcodelist, split(/\s\n/, $list); |
241 |
push my @barcodelist, split(/\s\n/, $list); |
234 |
|
242 |
|
Lines 453-458
if ($op eq "action") {
Link Here
|
453 |
foreach my $error (@errors) { |
461 |
foreach my $error (@errors) { |
454 |
$template->param($error => 1); |
462 |
$template->param($error => 1); |
455 |
} |
463 |
} |
|
|
464 |
$template->param(src => $src); |
456 |
output_html_with_http_headers $input, $cookie, $template->output; |
465 |
output_html_with_http_headers $input, $cookie, $template->output; |
457 |
exit; |
466 |
exit; |
458 |
|
467 |
|
459 |
- |
|
|