• Resolved emmamiumiu

    (@emmamiumiu)


    Hello,

    Awesome plugin!

    Just a question concerning Override ‘orderby’ query attribute option, with the last wordpress version (6-4-1) it doesnt seem to work anymore.

    I have two queries for the same contents, one using orderby and the other doesnt, but the one using the orderby option is being reorder while the option is not checked.

    Could you check if it’s normal?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    the override oderby is specificially for WooCommerce products which use orderby attributes in their query.

    What type of posts are you trying to order?

    Thread Starter emmamiumiu

    (@emmamiumiu)

    @aurovrata

    It’s a custom post type ! So it makes sense.

    I’ve just started using your plugin, but i thought my two queries werent acted the same if the orderby was checked or not, but maybe i’ve not look properly.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    ok, so another thing to look out for is the suppress_filters attribute in the query, this is by default set to true in a get_posts() query (see doc), and will therefore by-pass the ranking machanism which uses filters to retrieve a sorted result from the DB query.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    Just a question concerning Override ‘orderby’ query attribute option, with the last wordpress version (6-4-1) it doesnt seem to work anymore.

    I am curious, you say that it doesn’t work anymore, so this same query was working previously or is this a new query on a custom post?

    Thread Starter emmamiumiu

    (@emmamiumiu)

    Hi @aurovrata

    I dont seem to have the supress_filters on my settings.

    Like i said, i only just started using your plugin, and while testing i thought one of query (the one with orderby date) was not being affected when the override option was not check. But i could be wrong!

    It’s like i’ve added your plugin, quickly see it did what i wanted, and upload the new wordpress version. When i check again, the override option was not acting like i remember (maybe falsely?) In the end it’s not a problem for my client that both query change with manual setting so the issue is resolved on my part.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    ok. If you find the issue persists, then let me know.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Override ‘orderby’ query attribute doesnt seem to work’ is closed to new replies.