Support

  1. ggaillet
  2. Support
  3. Wednesday, November 21 2018, 07:34 AM
  4.  Subscribe via email
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. 2 weeks ago
  2. Support
  3. # 1
ggaillet Accepted Answer
Pro
Sure. Here you go.
I realize that the sorting is using some alphabetical order, not numerical. So the first one is the one with a score starting with 9, then 8, 7,... So if one of my member got a score or 287 for example, he will be sorted below someone with a score of 3. :(
  1. 2 weeks 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. 2 weeks ago
  2. Support
  3. # 3
ggaillet Accepted Answer
Pro
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. 2 weeks 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. 2 weeks 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.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.