• Resolved boothby

    (@boothby)


    Hi,

    i have the latest version. Is it possible that the “Order By” function does not work? I have tried it on two different websites.

    New posts, when they are published, are displayed immediately. It looks like only the “Order By” function is not working.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor codersantosh

    (@codersantosh)

    Hello @boothby,

    Can you please let us know what values you select on Order by and Order? During my testing, it is working fine.

    Best Regards!

    Thread Starter boothby

    (@boothby)

    Hi @codersantosh

    thank you for your fast response.

    I have selected “random” for order by and “desc” or “asc” for order. I have tried both.

    I have deactivated all plugins on my test server (and another server, from a different provider) and used the wordpress theme “Twenty Twenty”.

    When I reload the page in the backend (gutenberg editor) other posts are shown to me. Then in the frontend it no longer works.

    Best Regards ??

    Thread Starter boothby

    (@boothby)

    Hi again,

    i did a rollback to version 2.2.0. Now it works for me. So it must be something wrong with 3.0 and the following versions.

    Best Regards ??

    Plugin Contributor codersantosh

    (@codersantosh)

    @boothby yes you are right, I found the same bug on the plugin. For now you can replace the code on functions.php#L1155 to
    $query_args['orderby'] = isset( $attr['orderby'] ) ? $attr['orderby'] : 'date';

    Or you can wait for the next update, we will fix it.

    Thread Starter boothby

    (@boothby)

    @codersantosh

    thank you for your great support ??

    Plugin Contributor codersantosh

    (@codersantosh)

    Hello @boothby ,

    Please update the Gutentor plugin to the latest version, the order and order by should be fixed.

    Best Regards!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘elements sorting (Order by) does not work for me’ is closed to new replies.