- This topic has 1 reply, 2 voices, and was last updated 10 years, 4 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
These forums are now closed and remain for historical purposes.
None of the content applies to the new version 3. For support, get in touch via our contact form.
Forums › Forums › Search & Filter Pro › Incorrect sorting of meta value
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?
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:
And see if sorting works this way.
Let me know.
Thanks