Is there a way to reverse the order of the additions/modifications for validating in the Admin area so that the oldest ones are first?
Nov 4, 2002, 8:08 PM
Veteran / Moderator (2577 posts)
Nov 4, 2002, 8:08 PM
Post #2 of 7
Views: 1947
I have suggest this be added to Links, as I see it as a must if you have pages of new links to sort through on a regular basis. And personally, I don't approve every link in one go, so it makes sense to have the oldest ones show up on the first page. LIFO.
I don't know of a temporary solution though.
I don't know of a temporary solution though.
Nov 5, 2002, 12:52 AM
Enthusiast (706 posts)
Nov 5, 2002, 12:52 AM
Post #3 of 7
Views: 1948
To reverse the sort order of links awaiting validation you'll need to edit admin/Links/Tools.pm ... at sub validate_links - add DESC to the so field to tell it to sort DESCending:
# Get a list of links awaiting validation.
my $sth = $db->query_sth ( {
isValidated => 'No',
mh => $mh,
nh => $nh,
sb => 'Add_Date',
so => 'DESC'
});
All the best
Shaun
# Get a list of links awaiting validation.
my $sth = $db->query_sth ( {
isValidated => 'No',
mh => $mh,
nh => $nh,
sb => 'Add_Date',
so => 'DESC'
});
All the best
Shaun
Nov 5, 2002, 5:42 AM
Veteran / Moderator (2199 posts)
Nov 5, 2002, 5:42 AM
Post #5 of 7
Views: 1942
DESCending date means newest first.
ASCending date means oldest first.
Ivan
-----
Iyengar Yoga Resources / GT Plugins
ASCending date means oldest first.
Ivan
-----
Iyengar Yoga Resources / GT Plugins