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:
// paramField   = parent drop-down field Id (mainId)
// targetField  = dependent drop-down field Id (dependentId)
// if there are multiple paramKeys (because of multiple dependencies) then 
// an array with multiple data information{code}
However, when having definitions in a screen for getDependentDropdownValues  

<set field="paramKey" value="roleTypeId,fromDate"/>
<set field="paramField" value="roleTypeId,fromDate"/>
only the first of the list gets used.



This message was sent by Atlassian Jira

Reply via email to