Home › Forums › Backend Issues (wp-admin) › Make a single value post object sortable (edit.php table column) › Reply To: Make a single value post object sortable (edit.php table column)
Well, yes, there is that, the solution is not perfect and does not scale well. Another solution would be.
use an acf/save_post filter. When your posts are saved get the title of the post object field and store that in another custom field not controlled by ACF. Then sort based on this field. What this does is it makes the title of the related post a value associated with the post.
A more complicated solution would be to use $wpdb and construct your own MySQL query to do the work, but this solution is beyond me.
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.