Author: ashish
Date: Fri Mar 25 11:49:20 2011
New Revision: 1085335
URL:
http://svn.apache.org/viewvc?rev=1085335&view=revLog:
Bug fix - order-by-list is not working for get-related tag for PortalPageScreens because string type of argument passed instead of list. Thanks Deepak.
For trunk this functionality has been implemented using include-portal-page tag of screen widget so we can safely discard this changes for trunk.
Modified:
ofbiz/branches/release10.04/framework/common/widget/CommonScreens.xml
Modified: ofbiz/branches/release10.04/framework/common/widget/CommonScreens.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release10.04/framework/common/widget/CommonScreens.xml?rev=1085335&r1=1085334&r2=1085335&view=diff==============================================================================
--- ofbiz/branches/release10.04/framework/common/widget/CommonScreens.xml (original)
+++ ofbiz/branches/release10.04/framework/common/widget/CommonScreens.xml Fri Mar 25 11:49:20 2011
@@ -523,8 +523,9 @@ under the License.
<section>
<actions>
<entity-one entity-name="PortalPage" value-field="portalPage" use-cache="true"/>
+ <set field="orderByList" value="columnSeqId" type="List"/>
<get-related value-field="portalPage" relation-name="PortalPageColumn"
- order-by-list="columnSeqId" list="portalPageColumns" use-cache="true"/>
+ order-by-list="orderByList" list="portalPageColumns" use-cache="true"/>
<entity-and entity-name="PortalPagePortletView" list="portalPagePortlets" use-cache="true">
<field-map field-name="portalPageId" from-field="portalPage.portalPageId"/>
<order-by field-name="columnSeqId"/>