[ 
https://issues.apache.org/jira/browse/OFBIZ-607?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463428
 ] 

Si Chen commented on OFBIZ-607:
-------------------------------

Suspect code probably looks like this in the _Screens.xml files:

                <entity-condition entity-name="ProductCategory" 
list-name="productCategories">
                    <condition-expr field-name="showInSelect" 
operator="not-equals" value="N"/>
                    <order-by field-name="description"/>
                </entity-condition>

Or possibly like this in .bsh files:
categories = delegator.findAll("ProductCategory");

or

categories = delegator.findByAnd("ProductCategory", 
UtilMisc.toMap("showInSelect", "Y"));

or something like that . . .

> Remove unnecessary productcategory lookup 
> ------------------------------------------
>
>                 Key: OFBIZ-607
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-607
>             Project: Apache OFBiz (The Open for Business Project)
>          Issue Type: Improvement
>          Components: product
>            Reporter: Si Chen
>         Assigned To: Si Chen
>
> After SVN r 494558 product categories in catalog manager and facility manager 
> are by lookup instead in a dropdown, so some old lookup code is no longer 
> necessary.  

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to