Revision 387cb8fa
Von Bernd Bleßmann vor fast 9 Jahren hinzugefügt
bin/mozilla/common.pl | ||
---|---|---|
386 | 386 |
$form->{title} = $locale->text("History"); |
387 | 387 |
$form->header(no_layout => 1); |
388 | 388 |
|
389 |
my $callback = build_std_url(qw(action longdescription trans_id_type input_name)); |
|
389 | 390 |
my $restriction; |
390 | 391 |
if ( $form->{trans_id_type} eq 'glid' ) { |
391 | 392 |
$restriction = "AND ( snumbers LIKE 'invnumber%' OR what_done LIKE '%Buchungsnummer%' OR snumbers LIKE 'gltransaction%' ) "; |
... | ... | |
400 | 401 |
"SUCCESS" => ($form->get_history($dbh,$form->{input_name}) ne "0"), |
401 | 402 |
uc($sort) => 1, |
402 | 403 |
uc($sort)."BY" => $sortby, |
404 |
callback => $callback, |
|
403 | 405 |
} ); |
404 | 406 |
|
405 | 407 |
$dbh->disconnect(); |
Auch abrufbar als: Unified diff
History-Popup: callback übergeben, damit Sortierung funktioniert.
Behebt #136 (redmine).