• Resolved curiousjake

    (@curiousjake)


    Hi,

    I’ve been having an issue with some AJAX functionality on my site, where the ORDERBY parameter was being overridden during AJAX even though I have ‘Auto Sort’ set to false. In line 167 of class.cpto.php you check for is_admin() before setting admin ORDERBY parameters, but I guess you should check for is_admin() && !wp_doing_ajax() or similar.

    Thanks for the plugin and all your hard work, it’s great!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bug: ORDERBY being overridden when doing AJAX’ is closed to new replies.