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

David Schweikert dws at ee.ethz.ch
Fri Apr 28 04:16:47 EDT 2006


Hi,

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

--- 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
-- 
David Schweikert        | phone: +41 44 632 7019
System manager ISG.EE   | walk:  ETH Zentrum, ETL F24.1
ETH Zurich, Switzerland | web:   http://people.ee.ethz.ch/dws


More information about the Rt-devel mailing list