|
Lines 47-56
my @sort_columns =
Link Here
|
| 47 |
my $import_batch_id = $input->param('import_batch_id'); |
47 |
my $import_batch_id = $input->param('import_batch_id'); |
| 48 |
my $offset = $input->param('iDisplayStart'); |
48 |
my $offset = $input->param('iDisplayStart'); |
| 49 |
my $results_per_page = $input->param('iDisplayLength'); |
49 |
my $results_per_page = $input->param('iDisplayLength'); |
| 50 |
my $sorting_column = $sort_columns[ $input->param('iSortCol_0') ]; |
50 |
my $sorting_column = $sort_columns[ $input->param('iSortCol_0') // 0 ]; |
| 51 |
my $sorting_direction = $input->param('sSortDir_0'); |
51 |
my $sorting_direction = $input->param('sSortDir_0'); |
| 52 |
|
52 |
|
| 53 |
$results_per_page = undef if ( $results_per_page == -1 ); |
53 |
$results_per_page = undef if $results_per_page && $results_per_page == -1; |
| 54 |
|
54 |
|
| 55 |
binmode STDOUT, ":encoding(UTF-8)"; |
55 |
binmode STDOUT, ":encoding(UTF-8)"; |
| 56 |
print $input->header( -type => 'text/plain', -charset => 'UTF-8' ); |
56 |
print $input->header( -type => 'text/plain', -charset => 'UTF-8' ); |
| 57 |
- |
|
|