Skip Navigation

[Resolved] Split: Split: Ordering View of posts by date custom field

This support ticket is created 4 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Nigel 4 years, 10 months ago.

Assisted by: Nigel.

Author
Posts
#1535057

Yes I can change its in my code I can change that very easily. I think order by is also not working in view.
I want to order this view by issue_date that is custom field.

#1535063

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Is issue_date a Types custom date field?

If so, it is stored as a UNIX timestamp, i.e. a number, so when ordering a View by the date field it should be compared as a number (not a string or a date).

If the date field is not a Types date field then it would depend on how the data is stored.