Support » Plugin: Admin Collapse Subpages » Search function no longer working

  • This is a great plugin I love it.

    However, this plugin seems to hide the results from the admin search page if that child page is hidden, the same goes if filtered by page category or author or sorted by anything other than the menu order.

    Can you include a fix for this on your next update?

    • This topic was modified 1 year, 7 months ago by Frank.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author bravokeyl

    (@bravokeyl)

    Hmm! That’s good point, I never noticed it. Thanks for pointing it out. I will push the update within 2-3 weeks after regression.

    Perfect! Thank you very much!

    I currently have it added as and include within my child theme, but Ive made the following edit within your asc_scripts() function to accomodate for the different pages.

    Added to Ln61 of the main file

    // Set Flag
    $proceed = true;
    // Create arrat of $_GET variable to exclude
    $exclude = array('s','author','orderby','order','post_status');
    // Cyclye throught and test if isset
    foreach($exclude as $var) {$proceed = isset($_GET[$var]) ? false : $proceed;}
    // If flag is false then eject 
    if(!$proceed) {return;}

    I hope this helps with your update.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search function no longer working’ is closed to new replies.