Author: hansbak
Date: Thu Jan 22 22:17:48 2009
New Revision: 736959
URL:
http://svn.apache.org/viewvc?rev=736959&view=revLog:
missed a change in last commit
Modified:
ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
Modified: ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy?rev=736959&r1=736958&r2=736959&view=diff==============================================================================
--- ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy (original)
+++ ofbiz/trunk/framework/common/webcommon/WEB-INF/actions/includes/ListPortalPages.groovy Thu Jan 22 22:17:48 2009
@@ -34,12 +34,7 @@
EntityCondition.makeCondition("ownerUserLoginId", EntityOperator.EQUALS, "_NA_")
],EntityOperator.OR),
],EntityOperator.AND);
- sortField = parameters.sortField;
- if (UtilValidate.isEmpty(sortField)) {
- sortField = "parentPortalPageId DESC";
- }
- orderBy = [sortField];
- portalPages = delegator.findList("PortalPage", ppCond, null, orderBy, null, false);
+ portalPages = delegator.findList("PortalPage", ppCond, null, null, null, false);
// remove overridden system pages
portalPages.each { portalPage ->
if (portalPage.ownerUserLoginId.equals("_NA_")) {