Home › Forums › General Issues › Query not ordering correctly by datepicker date › Reply To: Query not ordering correctly by datepicker date
That’s why I’m confused. Been working with ACF for a while and custom fields in general, but this one has me stumped.
The dates & corresponding post_ids are as follows so even if it wasn’t reading the custom field and default ordering by post ID, I’d still expect it to be in order, and the post names follow a similar hierarchy. It should be falling in the correct order regardless of the field, title, or post id.
20160724 – post_id: 2392 – “product 2”
20160104 – post_id: 2390 – “product 1”
20190414 – post_id: 2394 – “product 3”
I’m well and truly stumped. Anyone have this issue and care to share their solution or things to check?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.