projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SL/Dev/CustomerVendor.pm - create_vendor exportieren
[kivitendo-erp.git]
/
SL
/
DB
/
Helper
/
Filtered.pm
diff --git
a/SL/DB/Helper/Filtered.pm
b/SL/DB/Helper/Filtered.pm
index
3532949
..
a0f522b
100644
(file)
--- a/
SL/DB/Helper/Filtered.pm
+++ b/
SL/DB/Helper/Filtered.pm
@@
-10,13
+10,13
@@
our @EXPORT = qw (filter add_filter_specs);
my %filter_spec;
sub filter {
my %filter_spec;
sub filter {
- my ($class, $key, $value, $prefix, $path) = @_;
+ my ($class, $key, $value, $prefix, $path
, @additional_tokens
) = @_;
my $filters = _get_filters($class);
return ($prefix . $key, $value, $path) unless $filters->{$key};
my $filters = _get_filters($class);
return ($prefix . $key, $value, $path) unless $filters->{$key};
- return $filters->{$key}->($key, $value, $prefix);
+ return $filters->{$key}->($key, $value, $prefix
, @additional_tokens
);
}
sub _get_filters {
}
sub _get_filters {
@@
-164,7
+164,7
@@
to make sense to Rose.
=item *
=item *
-You are expec
e
ted to return exactly one key and one value. That can mean you
+You are expected to return exactly one key and one value. That can mean you
have to encapsulate your arguments into C<< or => [] >> or C<< and => [] >> blocks.
=item *
have to encapsulate your arguments into C<< or => [] >> or C<< and => [] >> blocks.
=item *