[rt-devel] [PATCH] Invert Thread

Darrin Thompson darrint at progeny.com
Fri Feb 13 18:02:03 EST 2004


Again, possibly a matter of taste. We usually want to see the most 
recent activity on a thread first.

* Invert the sequence of updates as displayed at the bottom of a
   ticket page.  Now, the most recent update will be displayed first.

See attached.

--
Darrin





-------------- next part --------------
Index: lib/RT/Transactions_Overlay.pm
===================================================================
--- lib/RT/Transactions_Overlay.pm	(revision 14567)
+++ lib/RT/Transactions_Overlay.pm	(revision 14568)
@@ -56,7 +56,7 @@
   # By default, order by the date of the transaction, rather than ID.
   $self->OrderBy( ALIAS => 'main',
 		  FIELD => 'Created',
-		  ORDER => 'ASC');
+		  ORDER => 'DESC');
 
   return ( $self->SUPER::_Init(@_));
 }


More information about the Rt-devel mailing list