From 75162bb14b3e38d66617077843f4dfdcaf09d5c4 Mon Sep 17 00:00:00 2001 From: ivan Date: Mon, 18 Apr 2011 23:15:19 +0000 Subject: import rt 3.8.10 --- rt/lib/RT/Shredder/Plugin/Base/Search.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'rt/lib/RT/Shredder/Plugin/Base') diff --git a/rt/lib/RT/Shredder/Plugin/Base/Search.pm b/rt/lib/RT/Shredder/Plugin/Base/Search.pm index 1c20b4f03..6f9d6ff01 100644 --- a/rt/lib/RT/Shredder/Plugin/Base/Search.pm +++ b/rt/lib/RT/Shredder/Plugin/Base/Search.pm @@ -76,10 +76,11 @@ Allow you to limit search results. B<< Default value is C<10> >>. sub SupportArgs { my %seen; - return sort + my @args = sort grep $_ && !$seen{$_}, shift->SUPER::SupportArgs(@_), qw(limit); + return @args; } sub TestArgs -- cgit v1.2.1