Author: bibryam
Date: Mon Mar 29 14:34:49 2010
New Revision: 928790

URL: http://svn.apache.org/viewvc?rev=928790&view=rev
Log:
Order content types in select fields by description.

Modified:
    ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
    ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml

Modified: ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml?rev=928790&r1=928789&r2=928790&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml 
(original)
+++ ofbiz/trunk/applications/order/widget/ordermgr/CustRequestForms.xml Mon Mar 
29 14:34:49 2010
@@ -568,7 +568,9 @@ under the License.
         </field>
         <field name="contentTypeId">
             <drop-down allow-empty="false" no-current-selected-key="DOCUMENT">
-                <entity-options description="${description}" 
entity-name="ContentType"/>
+                <entity-options description="${description}" 
entity-name="ContentType">
+                    <entity-order-by field-name="description"/>
+                </entity-options>
             </drop-down>
         </field>
         <field name="statusId" use-when="contentId==void">

Modified: ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml?rev=928790&r1=928789&r2=928790&view=diff
==============================================================================
--- ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml 
(original)
+++ ofbiz/trunk/applications/product/widget/facility/FacilityForms.xml Mon Mar 
29 14:34:49 2010
@@ -893,7 +893,9 @@ under the License.
         </field>
         <field name="contentTypeId" 
title="${uiLabelMap.FormFieldTitle_contentTypeId}">
             <drop-down allow-empty="false" no-current-selected-key="DOCUMENT">
-                <entity-options description="${description}" 
entity-name="ContentType"/>
+                <entity-options description="${description}" 
entity-name="ContentType">
+                    <entity-order-by field-name="description"/>
+                </entity-options>
             </drop-down>
         </field>
         <field name="statusId" title="${uiLabelMap.CommonStatus}">


Reply via email to