Revision 84ec69e6
Von Thomas Heck vor mehr als 10 Jahren hinzugefügt
SL/Controller/Project.pm | ||
---|---|---|
213 | 213 |
|
214 | 214 |
map { $column_defs{$_}->{text} ||= $::locale->text( $self->models->get_sort_spec->{$_}->{title} ) } keys %column_defs; |
215 | 215 |
|
216 |
if ( $report->{options}{output_format} =~ /^(pdf|csv)$/i ) { |
|
217 |
$self->models->disable_plugin('paginated'); |
|
218 |
} |
|
216 | 219 |
$report->set_options( |
217 | 220 |
std_column_visibility => 1, |
218 | 221 |
controller_class => 'Project', |
... | ... | |
226 | 229 |
$report->set_column_order(@columns); |
227 | 230 |
$report->set_export_options(qw(list filter)); |
228 | 231 |
$report->set_options_from_form; |
229 |
$self->models->disable_pagination if $report->{options}{output_format} =~ /^(pdf|csv)$/i; |
|
230 | 232 |
$self->models->set_report_generator_sort_options(report => $report, sortable_columns => \@sortable); |
231 | 233 |
$report->set_options( |
232 | 234 |
raw_bottom_info_text => $self->render('project/report_bottom', { output => 0 }), |
Auch abrufbar als: Unified diff
Projekte-PDF|CSV-Export aufs neue GetModels umgestellt