Sauter la navigation

[Résolu] the defined sort-function didn't work

This support ticket is created Il y a 6 années et 3 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)

Marqué : ,

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

Dernière mise à jour par thomasR-9 Il y a 6 années et 3 mois.

Assisté par: Minesh.

Auteur
Publications
#1132526

I am trying to:
sort a view by "post title" (name)

Link to a page where the issue can be seen:
lien caché

I expected to see:
Sorted by post title (name of the person)

Instead, I got:
Sorted by creating date

#1132628

Minesh
Supporter

Les langues: Anglais (English )

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

Hello. Thank you for contacting the Toolset support.

Well - as I understand, you are talking about order your posts where you set your view to order by post title - correct?

When I activate the view's debug and checked the query its ordered by post title DESC

SELECT   wpfs_posts.* FROM wpfs_posts  WHERE 1=1  AND wpfs_posts.ID NOT IN (1360) AND wpfs_posts.post_type = 'heldennetzwerk' AND ((wpfs_posts.post_status = 'publish' OR wpfs_posts.post_status = 'private'))  ORDER BY wpfs_posts.post_title DESC 

Am I missing something here?

#1132905

Yes, I want to sort by post title DESC. But it didn't work so.

#1132906

OK, I got it! It works! Sorry, I can see it now!

Please deactivate the debug-info. Thank you.

#1133355

Minesh
Supporter

Les langues: Anglais (English )

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

Glad to know that it works. Please feel free to resolve the ticket.

#1133698

My issue is resolved now. Thank you!