Home › Forums › General Issues › Relationship Field Filter by \'last_name\' › Reply To: Relationship Field Filter by \'last_name\'
The filter for the relationship query has some issues. Some things you can do and some things just break it. The problem usually happens when you try to order the fields. Filtering usually works find. The problem happens when ACF attempts to group the posts.
If you really need to order the posts by a specific field I would suggest using a select field and dynamically generating the choices for the field yourself. http://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/
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.