Gossamer Forum
Quote Reply
[bug fix] ALPHA BAR
Hi,

Found a bug that I don't know how I missed (maybe I'm using an older copy?)

Anyway, easy to fix in Alpha_Bar.pm:

Code:
my $cond = GT::SQL::Condition->new ( $search_field, 'LIKE', $query, 'isValidated', 'LIKE', 'Yes' );


The condition element needs a second condition, to only return validated links. As it was, it was returning all links.

You can also use this idea to create a more restrictive, or limited return set, if you need to.

Just add the part in red to the line, making sure to not forget the ','


PUGDOG´┐Ż Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.
Subject Author Views Date
Thread [bug fix] ALPHA BAR pugdog 2722 Mar 26, 2002, 9:51 AM
Thread Re: [pugdog] [bug fix] ALPHA BAR
Paul 2671 Mar 26, 2002, 10:12 AM
Post Re: [Paul] [bug fix] ALPHA BAR
pugdog 2670 Mar 26, 2002, 12:11 PM
Thread Re: [pugdog] [bug fix] ALPHA BAR
BryanL 2603 Oct 7, 2002, 6:46 PM
Thread Re: [BryanL] [bug fix] ALPHA BAR
pugdog 2562 Oct 8, 2002, 8:07 AM
Thread Re: [pugdog] [bug fix] ALPHA BAR
BryanL 2545 Oct 8, 2002, 4:33 PM
Post Re: [BryanL] [bug fix] ALPHA BAR
Paul 2531 Oct 9, 2002, 3:04 AM