In client.yml, I’m trying to list all projects linked to the currently displayed client, and I’m not having any success.
I know that I could do this easily with subpages, but I would lose the ability to list all projects (I don’t want to have to go into a client to edit/create/find a project).
I’m getting an error about ‘gen_client’ not being an array… how can I reference the children’s gen_client field in the query? gen_client is a multiselect, so it must be an array, and I’m looking for my value in that field.
You will need a model for this, because you have to filter the projects with a callback by whether the given field converted to pages contains the current field. This cannot be done with query language.