Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

New 'Bug' in Sorting Method

Quote Reply
New 'Bug' in Sorting Method
Hi,

I want links to be displayed in order of rating. - I have done this by editing the links.pm file and changing the sort order.

However if 2 sites both have a rating of 8 I want the one with the most votes to be listed first. This does not happen - it doesn't work if you include Votes in to the links.pm sort order.

How can you make sure if 2 sites have the same rating the one with the most votes gets listed first?

Thanks

JeffB


Quote Reply
Re: New 'Bug' in Sorting Method In reply to
Hi!

If you set the rating in Links.pm to 'Rating DESC, Votes DESC' it should achieve what you want (sort by highest rating first, then by highest votes).

Cheers,

Alex

--
Gossamer Threads Inc.