Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Sort in Descending order by date.

Quote Reply
Sort in Descending order by date.
I want to sort in View All results in descending order by date. I have my date in YYYY-MM-DD format populated by &get_date. In this format adding &sb=number_of_sort_field&so=DESC to View All link does not to work.

This has been suggested in some posts in DBMan Customization forum. Any idea what am I doing wrong or I need to do it differently for DBMan SQL version.

Quote Reply
Re: Sort in Descending order by date. In reply to
In Reply To:
I want to sort in View All results in descending order by date. I have my date in YYYY-MM-DD format populated by &get_date. In this format adding &sb=number_of_sort_field&so=DESC to View All link does not to work.
Change this :
&sb=number_of_sort_field

to this :
&sb=name_of_sort_field

ie: &sb=Create_Date


easy does it
Quote Reply
Re: Sort in Descending order by date. In reply to
Thanks a ton. It worked perfectly.