From f5e4c22be81f5deb2affdb09b1524f9e9890498b Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Wed, 13 Jun 2007 15:56:10 +0000 Subject: [PATCH] ReportGenerator: Einen Indikator aktiviert, der anzeigt, nach welcher Spalte gerade sortiert ist. --- bin/mozilla/ap.pl | 2 ++ bin/mozilla/ar.pl | 2 ++ bin/mozilla/oe.pl | 2 ++ templates/webpages/report_generator/html_report_de.html | 2 +- templates/webpages/report_generator/html_report_master.html | 2 +- 5 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bin/mozilla/ap.pl b/bin/mozilla/ap.pl index 0c017140e..1b2f65206 100644 --- a/bin/mozilla/ap.pl +++ b/bin/mozilla/ap.pl @@ -1387,6 +1387,8 @@ sub ap_transactions { $report->set_export_options('ap_transactions', @hidden_variables); + $report->set_sort_indicator($form->{sort}, 1); + my @options; if ($form->{vendor}) { push @options, $locale->text('Vendor') . " : $form->{vendor}"; diff --git a/bin/mozilla/ar.pl b/bin/mozilla/ar.pl index d6f55ff81..dd32f41e4 100644 --- a/bin/mozilla/ar.pl +++ b/bin/mozilla/ar.pl @@ -1433,6 +1433,8 @@ sub ar_transactions { $report->set_export_options('ar_transactions', @hidden_variables); + $report->set_sort_indicator($form->{sort}, 1); + my @options; if ($form->{customer}) { push @options, $locale->text('Customer') . " : $form->{customer}"; diff --git a/bin/mozilla/oe.pl b/bin/mozilla/oe.pl index 40eecc388..54596337a 100644 --- a/bin/mozilla/oe.pl +++ b/bin/mozilla/oe.pl @@ -1686,6 +1686,8 @@ sub orders { $report->set_export_options('orders', @hidden_variables); + $report->set_sort_indicator($form->{sort}, 1); + my @options; if ($form->{customer}) { push @options, $locale->text('Customer') . " : $form->{customer}"; diff --git a/templates/webpages/report_generator/html_report_de.html b/templates/webpages/report_generator/html_report_de.html index e60b0e77f..c51c0accf 100644 --- a/templates/webpages/report_generator/html_report_de.html +++ b/templates/webpages/report_generator/html_report_de.html @@ -12,7 +12,7 @@ - + diff --git a/templates/webpages/report_generator/html_report_master.html b/templates/webpages/report_generator/html_report_master.html index 718cacaec..0ee065d07 100644 --- a/templates/webpages/report_generator/html_report_master.html +++ b/templates/webpages/report_generator/html_report_master.html @@ -12,7 +12,7 @@
- + -- 2.20.1