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)