by a field named ‘country’ and value ‘laos’. The ‘country’ field is a comma separated field. When I issue the following query in the blueprint, I get the error ‘Invalid query result data’. Here is the query:
yes I already tried to find the pages. It worked. The spaces come from the Google translator because I’m not too fit in English. hier is the original line from my blueprint:
1st: How can I combine several countries and/or travel topics in the query? e.g. ‘country’ = ‘Myanmar’ and/or ‘Laos’ and ‘topics’ = ‘Familie’ and/or ‘Kultur’
2nd: How can I pass the selections from the tags fields ‘countries’ and ‘topics’ into the query?
Values from other fields will only be available after saving. If you want to listen to changes in real time, you would need a custom field.
If you can live with the data only available after saving, you would have to fetch the arrays from both fields and combine them in a custom method, then use that method instead of the hardcodes array above.
The ‘in array’ filter works fine. Thank you for that.
It would of course be great if I could read the data from the tags fields in real time, but first I will try the custom field variant with saving the field values. If I don’t get the variant under control, I’ll get in touch with you again.
I have taken up your suggestion from Custom Field Methods and have already implemented it. But it became a custom page method because I don’t need any field filtering. So far so good. The only flaw is that the panel does not refresh after saving. I think I can do that with the page.update:after hook. I just don’t know the command to refresh the panel. Can you help me there?