Pierre Smits created OFBIZ-11724: ------------------------------------ Summary: getDependentDropdownValues doesn't work with services using filterByDate Key: OFBIZ-11724 URL: https://issues.apache.org/jira/browse/OFBIZ-11724 Project: OFBiz Issue Type: Bug Components: themes Affects Versions: Trunk, 17.12.03 Reporter: Pierre Smits
When a service is using a query function that incorporates the .filterbyDate option on the query, there is no way to get such filtered results back to the drop-down field. The JS function allows for multiple input parameters to be passed according to inline documentation: {code:java} // paramField = parent drop-down field Id (mainId) // targetField = dependent drop-down field Id (dependentId) and // if there are multiple paramKeys (because of multiple dependencies) then create // an array with multiple data information{code} However, when having definitions in a screen for getDependentDropdownValues like: {code:java} <set field="paramKey" value="roleTypeId,fromDate"/> <set field="paramField" value="roleTypeId,fromDate"/> {code} only the first of the list gets used. -- This message was sent by Atlassian Jira (v8.3.4#803005)