From 387cb8faaf8dd342f26783f805c87e6e91e680e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bernd=20Ble=C3=9Fmann?= Date: Wed, 24 Feb 2016 16:50:16 +0100 Subject: [PATCH] =?utf8?q?History-Popup:=20callback=20=C3=BCbergeben,=20da?= =?utf8?q?mit=20Sortierung=20funktioniert.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Behebt #136 (redmine). --- bin/mozilla/common.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/mozilla/common.pl b/bin/mozilla/common.pl index 9756f9216..a967480f8 100644 --- a/bin/mozilla/common.pl +++ b/bin/mozilla/common.pl @@ -386,6 +386,7 @@ sub show_history { $form->{title} = $locale->text("History"); $form->header(no_layout => 1); + my $callback = build_std_url(qw(action longdescription trans_id_type input_name)); my $restriction; if ( $form->{trans_id_type} eq 'glid' ) { $restriction = "AND ( snumbers LIKE 'invnumber%' OR what_done LIKE '%Buchungsnummer%' OR snumbers LIKE 'gltransaction%' ) "; @@ -400,6 +401,7 @@ sub show_history { "SUCCESS" => ($form->get_history($dbh,$form->{input_name}) ne "0"), uc($sort) => 1, uc($sort)."BY" => $sortby, + callback => $callback, } ); $dbh->disconnect(); -- 2.20.1