RT 3.4.5 Bulk update ignores limit to the number of rows

Hi All,

Bulk update in 3.4.5 seems to ignore any limit to the number of
rows returned by a query.

Here’s a patch that works for me:

--- html/Search/Bulk.html 2005-04-18 02:43:44.000000000 +0100 +++ html/Search/Bulk.html 2006-04-25 23:33:46.000000000 +0100 @@ -190,6 +190,8 @@

my $Tickets = RT::Tickets->new($session{‘CurrentUser’});
$Tickets->FromSQL($ARGS{‘Query’});
+$Tickets->RowsPerPage($ARGS{‘Rows’}) if ($ARGS{‘Rows’});
+$Tickets->GotoPage($ARGS{‘Page’}-1); # SB uses page 0 as the first page

Abort(loc(“No search to operate on.”)) unless ($Tickets);

Thanks for all the great work guys!

Ian.