Home : Products : Gossamer Links : Discussions :

Products: Gossamer Links: Discussions: Re: [Canoon] Change Rating Amount: Edit Log

Here is the list of edits for this post
Re: [Canoon] Change Rating Amount
Hi,

I have made the changes from 10 to 1 but it still not shows until 10 votes have been cast Unsure

This is what has changed:

sub build_rating {
...

$link_db->select_options ("ORDER BY Rating DESC", "LIMIT 10");
$rated = $link_db->select ( GT::SQL::Condition->new('Votes', '>=', 1, 'isValidated', '=', 'Yes') );

$link_db->select_options ("ORDER BY Votes DESC", "LIMIT 10");
$voted = $link_db->select ( GT::SQL::Condition->new('Votes', '>=', 1, 'isValidated', '=', 'Yes') );

Last edited by:

Canoon: Dec 15, 2001, 6:35 AM

Edit Log: