[Rt-commit] rt branch, 4.0/saner-articles-order-before-msgbox, updated. rt-4.0.4-81-gf0255f9

Kevin Falcone falcone at bestpractical.com
Fri Jan 20 15:10:56 EST 2012


The branch, 4.0/saner-articles-order-before-msgbox has been updated
       via  f0255f978ce4186f6134e8b9a65e4006fa9e5267 (commit)
      from  d336e0e822fde9aff19dfc385ad8e78223090769 (commit)

Summary of changes:
 share/html/Articles/Elements/BeforeMessageBox |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

- Log -----------------------------------------------------------------
commit f0255f978ce4186f6134e8b9a65e4006fa9e5267
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Fri Jan 20 15:10:14 2012 -0500

    Now that we're setting a default OrderBy in Articles.pm, we don't need this

diff --git a/share/html/Articles/Elements/BeforeMessageBox b/share/html/Articles/Elements/BeforeMessageBox
index 6d2cc96..03dce1d 100644
--- a/share/html/Articles/Elements/BeforeMessageBox
+++ b/share/html/Articles/Elements/BeforeMessageBox
@@ -198,19 +198,6 @@ my $hotlist = RT::Articles->new( $session{'CurrentUser'} );
 $hotlist->LimitHotlistClasses;
 $hotlist->LimitAppliedClasses( Queue => $QueueObj );
 
-# By default, order by name
-$hotlist->OrderByCols( {
-            ALIAS => 'main',
-            FIELD => 'Name',
-            ORDER => 'ASC'
-    },
-        {   ALIAS => 'main',
-            FIELD => 'SortOrder',
-            ORDER => 'ASC'
-        },
-
-    );
-
 my ( $topic_articles, $topics, $included_topic );
 $topic_articles = RT::Articles->new( $session{CurrentUser} );
 $topics = [];

-----------------------------------------------------------------------


More information about the Rt-commit mailing list