Restrict rows and columns in entityPicker

How can I restrict which columns and rows I see when using the entityPicker on a table?

And at the same time still be able to see all rows and columns when I access the table directly?

Is that possible?

I know I can add a parameter to the query WHERE in <![CDATA[…., but this parameter is global and I can’t reset it when accessing the table directly.

Using Jmix v2.8.1 and IntelliJ 2026.1.1