Home › Forums › General Issues › relationship filter – query by page-template? › Reply To: relationship filter – query by page-template?
OK, I have figure out why this is failing.
If the post type is a hierarchical post type and your filter removes a parent post from the list of posts, for some reason this causes ACF have a problem. There is some type of error or something happening in the function acf_get_grouped_posts()
I would say that this is a bug, If you want I can give you a hack that will make it work but you’ll need to modify one of the ACF files. I will make the developer aware of this problem.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.