Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision e5a690f9

Von Sven Schöling vor fast 12 Jahren hinzugefügt

  • ID e5a690f9c51aab7ac96130cb11b9d4c740c84016
  • Vorgänger 638e0b03
  • Nachfolger e5b33700

paginating für test_import

Unterschiede anzeigen:

SL/Controller/CsvImport.pm
96 96
  }
97 97

  
98 98
  if ($data->{progress}{finished} || $data->{errors}) {
99
    $self->action_report(report_id => $data->{report_id}, no_layout => 1);
99
    $self->render('csv_import/_deferred_report', { no_layout => 1 });
100 100
  } else {
101 101
    $self->render('csv_import/_deferred_results', { no_layout => 1 });
102 102
  }
......
165 165
  $self->{report_rows}   = $self->{report}->folded_rows(rows => $rows);
166 166
  $self->{report_status} = $self->{report}->folded_status(status => $status);
167 167
  $self->{pages} = $pages;
168
  $self->{base_url} = $self->url_for(action => 'report', id => $report_id, no_layout => $params{no_layout} || $::form->{no_layout} );
168 169

  
169
  my $base_url = $self->url_for(action => 'report', id => $report_id);
170

  
171
  $self->render('csv_import/report', { no_layout => $params{no_layout} }, base_url => $base_url);
170
  $self->render('csv_import/report', { no_layout => $params{no_layout} || $::form->{no_layout} });
172 171
}
173 172

  
174 173

  

Auch abrufbar als: Unified diff