import rt 3.8.10
[freeside.git] / rt / lib / RT / Shredder / Plugin / Base / Search.pm
index 1c20b4f..6f9d6ff 100644 (file)
@@ -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