X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/67079598f8f98a12e12a8acddc3afbf12bb58c5d..2814ad865aafd6aa074d8a9ce658bd93331fbc1c:/SL/Controller/SellPriceInformation.pm diff --git a/SL/Controller/SellPriceInformation.pm b/SL/Controller/SellPriceInformation.pm index 522f10125..e44478a59 100644 --- a/SL/Controller/SellPriceInformation.pm +++ b/SL/Controller/SellPriceInformation.pm @@ -115,7 +115,7 @@ sub prepare_report { $report->set_columns(%$column_defs); $report->set_column_order(@columns); $report->set_options(allow_pdf_export => 0, allow_csv_export => 0); - $report->set_sort_indicator(%params); + $report->set_sort_indicator($self->{sort_by}, $self->{sort_dir}); $report->set_export_options(@{ $params{report_generator_export_options} || [] }); $report->set_options( %{ $params{report_generator_options} || {} }, @@ -149,7 +149,7 @@ sub list_objects { }); } - return $self->{report}->generate_with_headers; + return $self->{report}->generate_with_headers(no_layout => 1); } sub link_to {