svn commit: r1827645 - /ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProdCatalogForms.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1827645 - /ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProdCatalogForms.xml

jleroux@apache.org
Author: jleroux
Date: Sat Mar 24 12:59:26 2018
New Revision: 1827645

URL: http://svn.apache.org/viewvc?rev=1827645&view=rev
Log:
Improved: display improvement in catalog -> categories in OOTB
(OFBIZ-10299)

The category list associated with a catalog that appears under
"categories" tab of catalog , may also display the category name,
currently it only displays the categoryId . In case the categoryid is
numeric / synthetic it is difficult to get an idea about the categories
just by a glance. It shall be more useful to display the category name also.

Thanks: Rajesh Kumar Mallah for report Aditya for patch

Modified:
    ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProdCatalogForms.xml

Modified: ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProdCatalogForms.xml
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProdCatalogForms.xml?rev=1827645&r1=1827644&r2=1827645&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProdCatalogForms.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/product/widget/catalog/ProdCatalogForms.xml Sat Mar 24 12:59:26 2018
@@ -166,7 +166,7 @@ under the License.
         <auto-fields-service service-name="updateProductCategoryToProdCatalog"/>
         <field name="prodCatalogId"><hidden/></field>
         <field name="productCategoryId" title="${uiLabelMap.ProductCategoryId}">
-            <display-entity entity-name="ProductCategory" also-hidden="true" cache="true">
+            <display-entity entity-name="ProductCategory" description="${categoryName}" also-hidden="true" cache="true">
                 <sub-hyperlink link-style="buttontext" target="EditCategory" description="${productCategoryId}">
                     <parameter param-name="productCategoryId"/>
                 </sub-hyperlink>