Filtering options of linked fields of a collection

Hello all,

I struggled in the docs and google to find any how-to for filtering the options of a linked field in a collection.

I modelized a nested ID/sub_ID data structure and just want to filter the entries that don’t have any sub_ID to get the root entries of the dataset in the linked field.

How can I do that ?

Thanks for your help.