Author: jleroux
Date: Sat Nov 12 00:42:00 2011
New Revision: 1201125
URL:
http://svn.apache.org/viewvc?rev=1201125&view=revLog:
A patch from Pierre Smits
https://issues.apache.org/jira/browse/OFBIZ-4466 "Chart of accounts isn't sorted properly"
When adding a new GL account it always displayed as the last entry, even if it has a lower ID
Modified:
ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml
Modified: ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml?rev=1201125&r1=1201124&r2=1201125&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml (original)
+++ ofbiz/trunk/applications/accounting/widget/GlobalGlAccountsForms.xml Sat Nov 12 00:42:00 2011
@@ -73,6 +73,7 @@ under the License.
<service service-name="performFind" result-map="result" result-map-list="listIt">
<field-map field-name="inputFields" from-field="parameters"/>
<field-map field-name="entityName" from-field="entityName"/>
+ <field-map field-name="orderBy" value="glAccountId"/>
<field-map field-name="noConditionFind" value="Y"/>
</service>
<property-to-field field="defaultCurrencyUomId" resource="general" property="currency.uom.id.default" default="USD"/>