Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Validate links order (reverse?)

Quote Reply
Validate links order (reverse?)
Hopefully this is a simple question, but how do I get Links (2.1.0) to show the oldest link waiting to be validated instead of the newest link?

Unsure

JeffB
GT customer for 6 years (and counting!)
Quote Reply
Re: [jeffb] Validate links order (reverse?) In reply to
You have to manually edit the file admin/Links/Tools.pm. A few lines below sub validate_link (line 445 in version 2.1.1) change
Code:
my $sth = $db->query_sth ( {
isValidated => 'No',
mh => $mh,
nh => $nh,
sb => 'Add_Date',
so => 'DESC'
});
into
Code:
my $sth = $db->query_sth ( {
isValidated => 'No',
mh => $mh,
nh => $nh,
sb => 'Add_Date',
so => 'ASC'
});

Ivan
-----
Iyengar Yoga Resources / GT Plugins
Quote Reply
Re: [yogi] Validate links order (reverse?) In reply to
Thanks Ivan this works great Wink

But don't forget, if you're using mod_perl then you will need to restart it to notice the change.



Regards,

JeffB.

PS. Ivan, take a look at my plug-in request in the other forum, can you do it?

JeffB
GT customer for 6 years (and counting!)
Quote Reply
Re: [jeffb] Validate links order (reverse?) In reply to
Hmmm... never noticed this changed :)

I used to edit my files to do that, since the older the link, the less interested I was in getting it validated :)

This sort of feature should be a settable parameter in the Admin.

Maybe Alex will add it on the next go-around.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.