projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
TopQuickSearch: all filter bei Waren in den callback aufnehmen
[kivitendo-erp.git]
/
bin
/
mozilla
/
common.pl
diff --git
a/bin/mozilla/common.pl
b/bin/mozilla/common.pl
index
9756f92
..
cba9e22
100644
(file)
--- a/
bin/mozilla/common.pl
+++ b/
bin/mozilla/common.pl
@@
-11,10
+11,9
@@
use SL::Common;
use SL::DB::Helper::Mappings;
use SL::Common;
use SL::DB::Helper::Mappings;
-use SL::DBUtils;
+use SL::DBUtils
qw(do_query)
;
use SL::Form;
use SL::Form;
-use SL::MoreCommon;
-use SL::Helper::Flash;
+use SL::MoreCommon qw(restore_form save_form);
use strict;
use strict;
@@
-386,6
+385,7
@@
sub show_history {
$form->{title} = $locale->text("History");
$form->header(no_layout => 1);
$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%' ) ";
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
+400,7
@@
sub show_history {
"SUCCESS" => ($form->get_history($dbh,$form->{input_name}) ne "0"),
uc($sort) => 1,
uc($sort)."BY" => $sortby,
"SUCCESS" => ($form->get_history($dbh,$form->{input_name}) ne "0"),
uc($sort) => 1,
uc($sort)."BY" => $sortby,
+ callback => $callback,
} );
$dbh->disconnect();
} );
$dbh->disconnect();