barrycarlyon has asked for the wisdom of the Perl Monks concerning the following question:
I wish to order the items by earliest first ie, date DESC, i tried putting DESC after but it crashed my sitesub _newstuff{return LSRfm::Database::Data->search(field => 'newstuff' +, { order_by=>'date' });}
What is the correct way to do the above?sub _newstuff{return LSRfm::Database::Data->search(field => 'newstuff' +, { order_by=>'date' DESC});}
Yours
Barry Carlyon
2006-04-05 Retitled by planetscape, as per Monastery guidelines
Original title: 'SOLVED!!! Post Ordering'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Post Ordering
by jeffa (Bishop) on Apr 04, 2006 at 13:55 UTC | |
|
Re: Post Ordering
by ptum (Priest) on Apr 04, 2006 at 13:59 UTC | |
|
Re: Post Ordering
by ptum (Priest) on Apr 04, 2006 at 15:24 UTC |