From: Bernd Bleßmann Date: Wed, 24 Feb 2016 15:50:16 +0000 (+0100) Subject: History-Popup: callback übergeben, damit Sortierung funktioniert. X-Git-Tag: release-3.4.1~402 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=387cb8faaf8dd342f26783f805c87e6e91e680e3;p=kivitendo-erp.git History-Popup: callback übergeben, damit Sortierung funktioniert. Behebt #136 (redmine). --- 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();