Skip Navigation

[Resolved] View orderby custom field not working

This support ticket is created 2 years, 12 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9: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/Karachi (GMT+05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shawn 2 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#2284715
Untitled.png

I have a view of home floor plans that is set to order by a custom field for square feet, but it's not sorting correctly.

hidden link

Weird thing is, my local copy of the site was sorting correctly at one time, with version 1.5.3... However, when I downgraded our staging site to this version, it's still showing the wrong order.

#2285445

Hi,

Thank you for contacting us and I'd be happy to assist.

To troubleshoot this, I'll need to see how this view is set up in the admin area.

Can you please share temporary admin login details, in reply to this message?

Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.

regards,
Waqar

#2286805

Thank you for sharing the admin access.

During troubleshooting, I noticed that a third-party plugin "Post Types Order" is affecting the order of posts in general on your website.

If you'll go to WP Admin -> Settings -> Post Types Order and uncheck the option "Auto Sort", you'll see that the results will be ordered by the 'sq-ft-from' field, as expected.

#2286923

Thanks Waqar! I wish I'd thought about that plugin as being in conflict with Views. Good job!