 |
| Author |
Message |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2857 Location: Germany |
|
|
|
The problem is there is no date field in the poll's table. So you can't sort by date.
You can only sort by the poll's id. Every poll gets a unique id. The latest poll has the highest id. So descendingly sorting by id should show the latest poll first.
That's exactly what this code is supposed to do:
 |  | 'orderby' => array('id' => 'DESC'), |
No idea why it's still not working.
|
|
| Tue Jul 29, 2008 5:52 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|