Filter a result list panel

Hi,

I have a 'Project' entity with a 'toMany' relation to 'Task' entity. The 'Project' has a layout with a result list panel to show the result of the 'All tasks' BB.

Now, I would like to filter the list of tasks in the result panel to show only the related tasks selected for the current project. I tried several options, but non if them are working:

Properties.tsk_name=InList({item.to_many_task[].Properties.tsk_name})
Properties.tsk_name=InList({item.to_many_task[].item.Properties.tsk_name})
Properties.tsk_name={item.to_many_task[0].Properties.tsk_name}
Properties.tsk_name={item.to_many_task[0].item.Properties.tsk_name}
Properties.tsk_name={item.to_many_task[0]$Properties.tsk_name}

FYI: When I make the relation bidirectional back 'toOne' project, this is working perfectly:

to_one_project$Properties.prj_name={item.Properties.prj_name}

So, I'm looking for the opposite approach here; If its even possible? Check the screenshot for clarification.

Thx, Antal


Comments

  • New insight:

    When I add a 'toOne' relation from the 'Project' entity to 'Task' entity (next to the already 'toMany'), this is working great:

    Properties.tsk_name={item.to_one_task.Properties.tsk_name}

    So, in my opinion these should be a valid filters, but it's not working:

    Properties.tsk_name={item.to_many_task[0].Properties.tsk_name}
    Properties.tsk_name=InList({item.to_many_task.Properties.tsk_name})
    

    Did I found a bug here or a new feature?