[jboss-svn-commits] JBL Code SVN: r6043 - labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/ui/view
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Aug 31 11:52:52 EDT 2006
Author: unibrew
Date: 2006-08-31 11:52:50 -0400 (Thu, 31 Aug 2006)
New Revision: 6043
Modified:
labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java
Log:
[JBFORUMS-104] Correcting the order of showing topics in forum.
Modified: labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java
===================================================================
--- labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java 2006-08-31 15:33:05 UTC (rev 6042)
+++ labs/jbossforums/trunk/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java 2006-08-31 15:52:50 UTC (rev 6043)
@@ -135,7 +135,7 @@
Constants.POST_STICKY,
-1,
Integer.parseInt(this.userPreferences.getPreference(
- Constants.TOPICS_FORUM_KEY)),"asc");
+ Constants.TOPICS_FORUM_KEY)),"desc");
} catch (Exception e) {
JSFUtil.handleException(e);
}
@@ -155,7 +155,7 @@
Constants.POST_STICKY,
-1,
Integer.parseInt(this.userPreferences.getPreference(
- Constants.TOPICS_FORUM_KEY)),"asc");
+ Constants.TOPICS_FORUM_KEY)),"desc");
if (stickyThreads!=null && stickyThreads.size()>0) {
present = true;
}
@@ -294,7 +294,7 @@
Object[] topicObjects = findTopics(forum,
Constants.POST_NORMAL,
-1,
- Integer.MAX_VALUE,"asc").toArray();
+ Integer.MAX_VALUE,"desc").toArray();
//setup the pageNavigator for this forum
More information about the jboss-svn-commits
mailing list