Saltar navegación

[Resuelto] Wrong number sorting with custom field.

This support ticket is created hace 4 años, 3 meses. 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)

Este tema contiene 3 respuestas, tiene 3 mensajes.

Última actualización por Puntorosso hace 4 años, 2 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#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.

enlace oculto

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
Colaborador

Idiomas: Inglés (English ) Español (Español )

Zona horaria: Europe/London (GMT+01: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