Lines 100-106
if ($op eq "") {
Link Here
|
100 |
add_saved_job_results_to_template($template, $completedJobID); |
100 |
add_saved_job_results_to_template($template, $completedJobID); |
101 |
} else { |
101 |
} else { |
102 |
my $framework = $input->param('framework'); |
102 |
my $framework = $input->param('framework'); |
103 |
commit_batch($template, $import_batch_id, $framework); |
103 |
my $overlay_framework = $input->param('overlay_framework'); |
|
|
104 |
commit_batch($template, $import_batch_id, $framework, $overlay_framework); |
104 |
} |
105 |
} |
105 |
import_records_list($template, $import_batch_id, $offset, $results_per_page); |
106 |
import_records_list($template, $import_batch_id, $offset, $results_per_page); |
106 |
} elsif ($op eq "revert-batch") { |
107 |
} elsif ($op eq "revert-batch") { |
Lines 231-237
sub import_batches_list {
Link Here
|
231 |
} |
232 |
} |
232 |
|
233 |
|
233 |
sub commit_batch { |
234 |
sub commit_batch { |
234 |
my ($template, $import_batch_id, $framework) = @_; |
235 |
my ($template, $import_batch_id, $framework, $overlay_framework) = @_; |
235 |
|
236 |
|
236 |
my $job = undef; |
237 |
my $job = undef; |
237 |
my ( $num_added, $num_updated, $num_items_added, |
238 |
my ( $num_added, $num_updated, $num_items_added, |
238 |
- |
|
|