[Rt-devel] PATCH: bug in Search/Bulk.html

Jesse Vincent jesse at bestpractical.com
Fri Apr 28 11:06:39 EDT 2006


David Schweikert wrote:
> Hi,
> 
> Search/Bulk.html didn't work for me and I could fix it with the
> following (ugly) patch:

That doesn't seem quite right. Can you tell us a bit more about what you
were seeing, bugwise, as well as what exact RT you're coming form?

Thanks!



> --- share/html/Search/Bulk.html~        2006-04-28 10:13:06.521180000 +0200
> +++ share/html/Search/Bulk.html 2006-04-28 10:07:58.576804000 +0200
> @@ -215,7 +215,7 @@
>  
>  my $Tickets = RT::Tickets->new( $session{'CurrentUser'} );
>  $Tickets->FromSQL($Query);
> -$Tickets->OrderBy( FIELD => $OrderBy, ORDER => $Order );
> +#$Tickets->OrderBy( FIELD => $OrderBy, ORDER => $Order );
>  $Tickets->RowsPerPage($Rows) if ($Rows);
>  $Tickets->GotoPage( $Page - 1 );    # SB uses page 0 as the first page
> 
> 
> Apparently $OrderBy is now more complex than just a field and should be
> handled like in Elements/TicketList.
> 
> Cheers
> David


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 191 bytes
Desc: OpenPGP digital signature
Url : http://lists.bestpractical.com/pipermail/rt-devel/attachments/20060428/7801d9d5/signature.pgp


More information about the Rt-devel mailing list