Support

Account

Home Forums ACF PRO Admin Column A-Z sorting for Object field Reply To: Admin Column A-Z sorting for Object field

  • No, not directly. The value stored in ‘place’ is the post ID. There is nothing stored for the ‘Homes’ post that has this information.

    In order to do this you would need to create an acf/save_post filter https://www.advancedcustomfields.com/resources/acf-save_post/

    In this filter you would need to get the post title, or whatever it is from the other post that you really want to sort by and then save this value for the “Place” post in another meta value https://codex.wordpress.org/Function_Reference/add_post_meta

    I cover this idea for repeater fields here https://acfextras.com/dont-query-repeaters/ but the principle would be the same for this, you’re just using different information.