1. ggaillet
  2. Support
  3. Wednesday, November 21 2018, 07:34 AM
I have a text field with format allowed set to decimal. It contains only numbers. When I am trying to sort my users from the greatest number to the smallest, using User List (Table) item with User table options set to sort only this field by descending order, I am getting complete non sense. The users showing at the top of the table are just not the ones with the greatest number.
Suggestions?
THanks
admin Accepted Answer
Admin
Hi,
can you please give me an access backend to check your configuration? if yes then you can use the form below the reply in "Site Details" tab
  1. more than a month ago
  2. Support
  3. # 1
ggaillet Accepted Answer
Content Protected
  1. more than a month ago
  2. Support
  3. # 2
admin Accepted Answer
Admin
Hi,
unfortunately this is how to MySQL server works, the only way to change this behavior is to set the column type from VARCHAR to INTEGER in table #__jsn_users.

You can do this with a tools like PhpMyAdmin, this tools normally is provided by almost hosting providers.

NOTE: Alternatively you can create a custom field of type "Number"
  1. more than a month ago
  2. Support
  3. # 3
ggaillet Accepted Answer
Fair enough, but if my users have a decimal number like 92.5 and I change the column type to integer, what will happen?
  1. more than a month ago
  2. Support
  3. # 4
admin Accepted Answer
Admin
Hi,
if you need to use decimal number then the correct column type is "DECIMAL" ;)
  1. more than a month ago
  2. Support
  3. # 5
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.