Solving sorting issues

6 years 3 months ago #1817 by bram

the format of the Selectx fields in the database is a varchar and are sorted alphabetically.

This might give odd sorting orders: 1 day, 10 days, 2 days or April,Juni,March

you can solve this by changing the database type to enum, given the fields in the desired order.


Input values must be 'stable' ( unknown values will be added as empty value)



  • Posts: 1494
  • Karma: 57
  • Thank you received: 247

  • Gender: Unknown
  • Birthdate: Unknown
  • Please Log in to join the conversation.

    Time to create page: 0.037 seconds
    Powered by Kunena Forum