Skip Navigation

[Resolved] Wrong number sorting with custom field.

This support ticket is created 3 years, 11 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/Hong_Kong (GMT+08:00)

This topic contains 3 replies, has 3 voices.

Last updated by Puntorosso 3 years, 11 months ago.

Assisted by: Luo Yang.

Author
Posts
#1916861

The sorting function in back-end , for a CPT with a price Custom field, doesn't work properly.
It is sorted as a string, even if the Custom Field is a number.

hidden link

I get this behavior:

1000000
130000
200000
3000000
320000

What I'm doing wrong?

#1917085

Hello,

Thanks for the details, I can duplicate the same problem, and have escalated this issue, will update here if there is any news.

#1937869

Nigel
Supporter

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

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

Hi there

Luo is away for holidays, let me update you to say that this is fixed in Types 3.4.7, which is now available from `toolset.com/account/downloads.

If you don't see the update from your plugins page, try the Check for Updates button on the Toolset installer page.

#1937953

Yes it works! Thanks