| View previous topic :: View next topic |
| Author |
Message |
formfields
Joined: 01 Aug 2005 Posts: 465
|
Posted: Mon Jan 23, 2006 5:11 pm Post subject: Data Doesn't Sort Properly |
|
|
| Depending on the type of data that you try to sort on, the sorting feature may not work as intended. For example, sorting on a timestamp doesn't usually work in versions of MySQL before 5.0. This is due to the fact that MySQL sorts based on the ascii value of the timestamp instead of the actual value of the date. Another example would be sorting on a data where you insert HTML into your SQL query. At this point, there is no easy fix for this. Soon we will be releasing a new version of TableHelpers, which will allow you specify the details of how each column is to be sorted. |
|
| Back to top |
|
 |
sigurdur
Joined: 27 Jul 2006 Posts: 5
|
Posted: Tue Aug 08, 2006 10:41 am Post subject: |
|
|
Any news on this sorting business?
I'm using the BritishDateField trick to list dates as %d/%m/%Y, and as a result, the dates do not sort properly (i.e. they sort first by day, then month, then year, not year, month, day as they should). Any idea how to fix this?
Best regards,
Sigurdur |
|
| Back to top |
|
 |
formfields
Joined: 01 Aug 2005 Posts: 465
|
Posted: Mon Oct 02, 2006 10:01 pm Post subject: |
|
|
| We are gearing up for a new FORMfields release, which will address this issue. |
|
| Back to top |
|
 |
|