By using the solution "Server-side". On the first page sort sql-query "ORDER BY IF (TDATE
= '0000-00-00', DDATE
,TDATE
) DESC ". How to simulate this query for the remaining pages?
↧
Ordering on two columns
↧