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

Christian Carlow edited comment on OFBIZ-5350 at 10/15/13 4:36 PM:
-------------------------------------------------------------------

This patch solves my immediate problem and applies the queryString as 
EntityConditions only for those queryString fields that match one of the "drop 
down list" searchFields.  queryString values that are lists will be applied as 
an OR EntityConditionList.

It should be improved to apply queryString fields that are not included in the 
searchFields.  I would have done this but wasn't sure how to conveniently grab 
an Entity's field list.  


was (Author: ofbizzer):
This patch solves my immediate problem and applies the queryString as 
EntityConditions only for those queryString fields that match one of the "drop 
down list" searchFields.  queryString values that are lists will apply the list 
of values as an OR EntityConditionList.

It should be improved to apply queryString fields that are not included in the 
searchFields.  I would have done this but wasn't sure how to conveniently grab 
an Entity's field list.  

> Lookup fields do not apply query filter
> ---------------------------------------
>
>                 Key: OFBIZ-5350
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5350
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL APPLICATIONS
>    Affects Versions: Release Branch 12.04
>            Reporter: Christian Carlow
>         Attachments: FindAutocompleteOptions.groovy.patch
>
>
> Lookup field fieldFormName queryString values are not applied to the query 
> results used by the "drop down list" functionality of the control.
> Associated Nabble forums:
> http://ofbiz.135035.n4.nabble.com/Filter-on-lookup-filed-td4640658.html
> http://ofbiz.135035.n4.nabble.com/filter-on-ajax-auto-complete-lookup-td4169426.html



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to