You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Arun Patidar (Jira)" <ji...@apache.org> on 2026/08/05 08:23:00 UTC

[jira] [Closed] (OFBIZ-11724) getDependentDropdownValues doesn't work with services using filterByDate

     [ https://issues.apache.org/jira/browse/OFBIZ-11724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Arun Patidar closed OFBIZ-11724.
--------------------------------
    Fix Version/s: Upcoming Branch
       Resolution: Fixed

PR has been merged, closing this issue.

> 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: 17.12.03, Trunk, Upcoming Branch
>            Reporter: Pierre Smits
>            Assignee: Arun Patidar
>            Priority: Major
>             Fix For: Upcoming Branch
>
>
> 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.20.10#820010)