Revision 19688fca
Von Moritz Bunkus vor mehr als 15 Jahren hinzugefügt
bin/mozilla/wh.pl | ||
---|---|---|
645 | 645 |
$report->set_columns(%column_defs); |
646 | 646 |
$report->set_column_order(@columns); |
647 | 647 |
|
648 |
$report->set_export_options('generate_journal', @hidden_variables); |
|
648 |
$report->set_export_options('generate_journal', @hidden_variables, qw(sort order));
|
|
649 | 649 |
|
650 | 650 |
$report->set_sort_indicator($form->{sort}, $form->{order}); |
651 | 651 |
|
652 | 652 |
$report->set_options('output_format' => 'HTML', |
653 | 653 |
'title' => $form->{title}, |
654 |
'attachment_basename' => strftime('warehouse_journal_%Y%m%d', localtime time));
|
|
654 |
'attachment_basename' => strftime($locale->text('warehouse_journal_list') . '_%Y%m%d', localtime time));
|
|
655 | 655 |
$report->set_options_from_form(); |
656 | 656 |
|
657 | 657 |
my $all_units = AM->retrieve_units(\%myconfig, $form); |
... | ... | |
767 | 767 |
$report->set_columns(%column_defs); |
768 | 768 |
$report->set_column_order(@columns); |
769 | 769 |
|
770 |
$report->set_export_options('generate_report', @hidden_variables); |
|
770 |
$report->set_export_options('generate_report', @hidden_variables, qw(sort order));
|
|
771 | 771 |
|
772 | 772 |
$report->set_sort_indicator($sort_col, $form->{order}); |
773 | 773 |
|
774 | 774 |
$report->set_options('output_format' => 'HTML', |
775 | 775 |
'title' => $form->{title}, |
776 |
'attachment_basename' => strftime('warehouse_report_%Y%m%d', localtime time));
|
|
776 |
'attachment_basename' => strftime($locale->text('warehouse_report_list') . '_%Y%m%d', localtime time));
|
|
777 | 777 |
$report->set_options_from_form(); |
778 | 778 |
|
779 | 779 |
my $all_units = AM->retrieve_units(\%myconfig, $form); |
Auch abrufbar als: Unified diff
Beim PDF- und CSV-Export der verschiedenen Berichte die vorherige Sortierreihenfolge beibehalten.
Fix für Bug 845.