Incorrect sorting of meta value

Forums › Forums › Search & Filter Pro › Incorrect sorting of meta value

Viewing 2 posts – 1 through 2 (of 2 total)
  • Anonymous
    #28353

    I need to sort posts based on a meta value of date. Under default sorting I have it set to the meta value of “event_date”. I’ve configured this field in acf to return the date format in YYYYMMDD. And I’ve confirmed that this field returns those values correctly. So numeric sorting should work fine but I don’t see this reflected in the results. I’ve tried to sort ascending and descending but neither have an impact on the order. Is this something that is normal? Any sort of diagnostics I could try?

    Ross Moderator
    #28368

    Hmmm I’ve not come across this issue before, it might be possible that something else is modifying the query and adding its own sorting to it.

    Try disabling other plugins to see if there is interference.

    A good test (I’ve no idea on what your current display method is), is to follow the steps here:

    http://www.designsandcode.com/documentation/search-filter-pro/getting-started/creating-your-first-search-form/

    And see if sorting works this way.

    Let me know.

    Thanks

Viewing 2 posts – 1 through 2 (of 2 total)

Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.