Gossamer Forum
Home : Products : DBMan : Discussions :

Spreadsheet Mod questions

Quote Reply
Spreadsheet Mod questions
I'm using JPDeni's spreadsheet mod which works great. but I want to change it to do two things:

1) Default sorts by ID number from lowest to highest and I want it to sort in reverse.

2) When I try to sort by the Date field (defined as dd-mmm-yyyy) it doesn't sort correctly.

any ideas?

thanks,

Soil

Quote Reply
Re: Spreadsheet Mod questions In reply to
1) Use &so=descend in the query string OR create a hidden field in the EXPORT/SEARCH form:

Code:

<input type="hidden" name="so" value="ascend">


2) You need to choose the Date field in the sb (sort by) argument. Use &sb=Date or create a hidden field in your EXPORT/SEARCH form:

Code:

<input type="hidden" name="sb" value="Date">


Good luck!

Regards,

Eliot Lee