Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Sort order...

Quote Reply
Sort order...
This is weird. I have entered the following into build_sort_order_category;

Has_Priority DESC, Has_Rating DESC, isNew DESC,isPopular DESC,Title

Yes, it still seems to be sorting by;

isNew DESC,isPopular DESC,Title

Has anyone had this problem before? Its pretty annoying Frown

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Sort order... In reply to
Hi Andy,

Try it on dynamic mode to make sure you are seeing the latest changes. Also, are you using 2.1.1? There was a bug in 2.1.0 that would cause complex sort orders to fail.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Andy] Sort order... In reply to
Hi Andy,

I had a similar issue, but when I upgraded to 2.1.1 it was fine.


http://www.iuni.com/...tware/web/index.html
Links Plugins
Quote Reply
Re: [Andy] Sort order... In reply to
Please notice, that if Has_Priority or Has_Rating columns accidentally have NULL values, then it will be not correctly sorted.

This could give the same order as following: isNew DESC,isPopular DESC,Title.
I had the same problem.

Use the MySQLMan to find out if you have NULL values.

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...
Quote Reply
Re: [Alex] Sort order... In reply to
The weird thing is, that it works fine in 2.1.0, but not 2.1.0-Beta3. I'm upgrading it now, so we will see how it goes from there...

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Alex] Sort order... In reply to
Argh..this is still not working :( I've upgraded to 2.1.1., and its still not sorting right Unsure

Any more ideas?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] Sort order... In reply to
Andy, did you check my suggestion?

Best regards,
Webmaster33


Paid Support
from Webmaster33. Expert in Perl programming & Gossamer Threads applications. (click here for prices)
Webmaster33's products (upd.2004.09.26) | Private message | Contact me | Was my post helpful? Donate my help...

Last edited by:

webmaster33: Sep 12, 2002, 8:30 AM
Quote Reply
Re: [webmaster33] Sort order... In reply to
Nope, all the links have the field set to 1 or 0. Obviously 1 being shown first, then 0. However, this doesn't really make a difference, as the links are not being shown at the top or bottom :-/

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [webmaster33] Sort order... In reply to
Never mind, I got it worked out :p Turned out that it was ordering correctly, but I just didn't know, cos of the way it was doing it ;)

Cheers for the help.

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!