Sauter la navigation

[Résolu] Sort by custom date field isn't working as expected.

This support ticket is created Il y a 3 années et 4 mois. 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par davidS-53 Il y a 3 années et 4 mois.

Assisté par: Minesh.

Auteur
Publications
#2149133
Screen Shot 2021-08-23 at 10.39.07 AM.jpg
Screen Shot 2021-08-23 at 10.38.30 AM.png
Screen Shot 2021-08-23 at 10.38.45 AM.png

I am trying to sort by a custom date field. There isn't really much to explain- obviously the August event should be first, based on the sort date. However, whether I set ascending or descending makes no difference, so not sure what the problem is.

(Public) website is lien caché

#2149535

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

That is really strange.

Can you please share admin access details so that I can review what is going wrong with your setup.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2150261

Minesh
Supporter

Les langues: Anglais (English )

Fuseau horaire: Asia/Kolkata (GMT+05:30)

I checked on your install and I found that you are using the plugin "Post Types Order" and as soon as I disable that plugin I can see it displays the correct posts with order:
=> lien caché

#2151895

Ahh, good point. Thanks.