From d22921fe76be4daea7c11e3bc66222a66326fd86 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Fri, 17 Apr 2020 13:24:32 +0200 Subject: [PATCH] VK-Bericht: Transportmittel als Hauptsortierung --- SL/VK.pm | 2 +- templates/webpages/vk/search_invoice.html | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/SL/VK.pm b/SL/VK.pm index 1dcf44a7d..5a3db9cdc 100644 --- a/SL/VK.pm +++ b/SL/VK.pm @@ -85,7 +85,7 @@ sub invoice_transactions { $where .= " AND i.assemblyitem is not true "; # filter allowed parameters for mainsort and subsort as passed by POST - my @databasefields = qw(description customername country partsgroup business salesman month); + my @databasefields = qw(description customername country partsgroup business salesman month shipvia); my ($mainsort) = grep { /^$form->{mainsort}$/ } @databasefields; my ($subsort) = grep { /^$form->{subsort}$/ } @databasefields; die "illegal parameter for mainsort or subsort" unless $mainsort and $subsort; diff --git a/templates/webpages/vk/search_invoice.html b/templates/webpages/vk/search_invoice.html index e84b8155b..9d39515a8 100644 --- a/templates/webpages/vk/search_invoice.html +++ b/templates/webpages/vk/search_invoice.html @@ -19,6 +19,7 @@ + [% 'Heading' | $T8 %] -- 2.20.1