[
https://issues.apache.org/jira/browse/OFBIZ-5350?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Christian Carlow updated OFBIZ-5350:
------------------------------------
Attachment: FindAutocompleteOptions.groovy.patch
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. 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. It should also probably
be improved to account for lists of values for queryString fields.
> 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)