Author: buscob
Date: Fri Nov 5 00:12:30 2010
New Revision: 1031367
URL:
http://svn.apache.org/viewvc?rev=1031367&view=revLog:
Oops. Fixed a bug introduced in my last commit.
Added a default value for the sort field.
Modified:
ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml
Modified: ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml?rev=1031367&r1=1031366&r2=1031367&view=diff==============================================================================
--- ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml (original)
+++ ofbiz/trunk/applications/product/widget/catalog/ProdCatalogForms.xml Fri Nov 5 00:12:30 2010
@@ -23,6 +23,7 @@ under the License.
<form name="ListProdCatalog" list-name="listIt" target="" title="" type="list" paginate-target="FindProdCatalog"
odd-row-style="alternate-row" default-table-style="basic-table hover-bar" header-row-style="header-row-2">
<actions>
+ <set field="parameters.sortField" from-field="parameters.sortField" default-value="prodCatalogId"/>
<entity-and entity-name="ProdCatalog" use-cache="true" list="listIt">
<order-by field-name="${parameters.sortField}"/>
</entity-and>