Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Sorting Cool Links

Quote Reply
Sorting Cool Links
Is there a way to sort the "Cool" links by popularity? I tried setting the "build_sort_order_cool" to both "isPopular" and "Hits" but still couldn't get what I was looking for. Using "Hits" sorted the results is increasing order rather than decreasing order (most popular at the bottom rather than the top).

Quote Reply
Re: Sorting Cool Links In reply to
You can use "Hits DESC" to do that. Or "Hits DESC, Title ASC" to sort by hits, and if two links have the same number of hits to alphabetize them.

Default sort order from MySQL is ASC (lower to higher, ASCending to DESCending).

PUGDOGŪ Enterprises, Inc.
FAQ:http://LinkSQL.com/FAQ
Forum:http://LinkSQL.com/forum
Quote Reply
Re: Sorting Cool Links In reply to
Thanks Pugdog, that worked great...