Support

Account

Home Forums Backend Issues (wp-admin) How can I dynamically filter the list of posts? Reply To: How can I dynamically filter the list of posts?

  • Got it! I didn’t realize the the Maximum Post setting was limiting the number of items that can be select or added (+). I thought that was limiting the number of items returned to the UI. Setting this this to 1 does exactly what I needed! – Thank you.

    In terms of jQuery load() I have some code the uses this function to re-load the relationship field, as the categories are checked/unchecked/, this refreshed the UI, but in the case of the relationship field the contents never get reloaded, just the spinning loading icon.
    jQuery( "#acf_957 " ).load("<?php echo $_SERVER['REQUEST_URI'] ?> #acf_957 > *" );

    If I test this against the Post Object select field the re-load works as expected.

    If I could solve the above I would be 75% there! The last 25% is how do I use ajax to force a ACF to re-query the posts based on a new category id list.