projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
rt 4.2.16
[freeside.git]
/
rt
/
lib
/
RT
/
Shredder
/
Plugin
/
Base
/
Search.pm
diff --git
a/rt/lib/RT/Shredder/Plugin/Base/Search.pm
b/rt/lib/RT/Shredder/Plugin/Base/Search.pm
index
1c20b4f
..
e66f799
100644
(file)
--- a/
rt/lib/RT/Shredder/Plugin/Base/Search.pm
+++ b/
rt/lib/RT/Shredder/Plugin/Base/Search.pm
@@
-2,7
+2,7
@@
#
# COPYRIGHT:
#
#
# COPYRIGHT:
#
-# This software is Copyright (c) 1996-201
1
Best Practical Solutions, LLC
+# This software is Copyright (c) 1996-201
9
Best Practical Solutions, LLC
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
# <sales@bestpractical.com>
#
# (Except where explicitly superseded by other copyright notices)
@@
-76,10
+76,11
@@
Allow you to limit search results. B<< Default value is C<10> >>.
sub SupportArgs
{
my %seen;
sub SupportArgs
{
my %seen;
-
return
sort
+
my @args =
sort
grep $_ && !$seen{$_},
shift->SUPER::SupportArgs(@_),
qw(limit);
grep $_ && !$seen{$_},
shift->SUPER::SupportArgs(@_),
qw(limit);
+ return @args;
}
sub TestArgs
}
sub TestArgs