[jboss-svn-commits] JBL Code SVN: r20180 - in labs/jbossforums/branches/multipleforums120P26/forums/src: resources/portal-forums-ha-jbp-sar/org/jboss/portlet/forums/impl and 2 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Tue May 27 08:58:16 EDT 2008
Author: dejp
Date: 2008-05-27 08:58:15 -0400 (Tue, 27 May 2008)
New Revision: 20180
Modified:
labs/jbossforums/branches/multipleforums120P26/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java
labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-ha-jbp-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml
labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-ha-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml
labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml
Log:
JBFORUMS-278
Modified: labs/jbossforums/branches/multipleforums120P26/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java
===================================================================
--- labs/jbossforums/branches/multipleforums120P26/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java 2008-05-27 12:26:49 UTC (rev 20179)
+++ labs/jbossforums/branches/multipleforums120P26/forums/src/main/org/jboss/portlet/forums/ui/view/ViewForum.java 2008-05-27 12:58:15 UTC (rev 20180)
@@ -112,7 +112,7 @@
try {
announcements = BaseController.getForumsModule().findTopicsDesc(forum,
Constants.POST_ANNOUNCE,
- -1,
+ 0,
Integer.MAX_VALUE);
} catch (Exception e) {
JSFUtil.handleException(e);
@@ -137,7 +137,7 @@
try {
announcements= BaseController.getForumsModule().findTopicsDesc(forum,
Constants.POST_ANNOUNCE,
- -1,
+ 0,
Integer.MAX_VALUE);
if (announcements!=null && announcements.size()>0) {
present = true;
@@ -165,7 +165,7 @@
//ForumsModule fm = this.getForumsModule();
stickyThreads = BaseController.getForumsModule().findTopicsDesc(forum,
Constants.POST_STICKY,
- -1,
+ 0,
Integer.MAX_VALUE);
} catch (Exception e) {
JSFUtil.handleException(e);
@@ -193,7 +193,7 @@
try {
stickyThreads = BaseController.getForumsModule().findTopicsDesc(forum,
Constants.POST_STICKY,
- -1,
+ 0,
Integer.MAX_VALUE);
if (stickyThreads!=null && stickyThreads.size()>0) {
present = true;
Modified: labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-ha-jbp-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml
===================================================================
--- labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-ha-jbp-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml 2008-05-27 12:26:49 UTC (rev 20179)
+++ labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-ha-jbp-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml 2008-05-27 12:58:15 UTC (rev 20180)
@@ -101,7 +101,6 @@
lazy="true"
inverse="true"
cascade="all-delete-orphan"
- order-by="jbp_name asc"
>
<key
Modified: labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-ha-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml
===================================================================
--- labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-ha-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml 2008-05-27 12:26:49 UTC (rev 20179)
+++ labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-ha-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml 2008-05-27 12:58:15 UTC (rev 20180)
@@ -101,7 +101,6 @@
lazy="true"
inverse="true"
cascade="all-delete-orphan"
- order-by="jbp_name asc"
>
<key
Modified: labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml
===================================================================
--- labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml 2008-05-27 12:26:49 UTC (rev 20179)
+++ labs/jbossforums/branches/multipleforums120P26/forums/src/resources/portal-forums-sar/org/jboss/portlet/forums/impl/PostImpl.hbm.xml 2008-05-27 12:58:15 UTC (rev 20180)
@@ -101,7 +101,6 @@
lazy="true"
inverse="true"
cascade="all-delete-orphan"
- order-by="jbp_name asc"
>
<key
More information about the jboss-svn-commits
mailing list