|
Lines 42-48
my $script_name = "/cgi-bin/koha/tools/manage-marc-import.pl";
Link Here
|
| 42 |
my $input = new CGI; |
42 |
my $input = new CGI; |
| 43 |
my $op = $input->param('op') || ''; |
43 |
my $op = $input->param('op') || ''; |
| 44 |
my $completedJobID = $input->param('completedJobID'); |
44 |
my $completedJobID = $input->param('completedJobID'); |
| 45 |
my $runinbackground = $input->param('runinbackground'); |
45 |
our $runinbackground = $input->param('runinbackground'); |
| 46 |
my $import_batch_id = $input->param('import_batch_id') || ''; |
46 |
my $import_batch_id = $input->param('import_batch_id') || ''; |
| 47 |
|
47 |
|
| 48 |
# record list displays |
48 |
# record list displays |
|
Lines 60-66
my ($template, $loggedinuser, $cookie)
Link Here
|
| 60 |
|
60 |
|
| 61 |
my %cookies = parse CGI::Cookie($cookie); |
61 |
my %cookies = parse CGI::Cookie($cookie); |
| 62 |
my $sessionID = $cookies{'CGISESSID'}->value; |
62 |
my $sessionID = $cookies{'CGISESSID'}->value; |
| 63 |
my $dbh = C4::Context->dbh; |
63 |
our $dbh = C4::Context->dbh; |
| 64 |
|
64 |
|
| 65 |
# Frameworks selection loop |
65 |
# Frameworks selection loop |
| 66 |
{ |
66 |
{ |
|
Lines 433-443
sub batch_info {
Link Here
|
| 433 |
$template->param('current_matcher_description' => $matcher->description()); |
433 |
$template->param('current_matcher_description' => $matcher->description()); |
| 434 |
} |
434 |
} |
| 435 |
} |
435 |
} |
| 436 |
add_matcher_list($batch->{'matcher_id'}); |
436 |
add_matcher_list($template,$batch->{'matcher_id'}); |
| 437 |
} |
437 |
} |
| 438 |
|
438 |
|
| 439 |
sub add_matcher_list { |
439 |
sub add_matcher_list { |
| 440 |
my $current_matcher_id = shift; |
440 |
my ($template,$current_matcher_id) = @_; |
| 441 |
my @matchers = C4::Matcher::GetMatcherList(); |
441 |
my @matchers = C4::Matcher::GetMatcherList(); |
| 442 |
if (defined $current_matcher_id) { |
442 |
if (defined $current_matcher_id) { |
| 443 |
for (my $i = 0; $i <= $#matchers; $i++) { |
443 |
for (my $i = 0; $i <= $#matchers; $i++) { |
| 444 |
- |
|
|