Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [Alex] Adding New Search Fields?: Edit Log

Here is the list of edits for this post
Re: [Alex] Adding New Search Fields?
Hi Alex,

U wrote:

if ((defined $args->{$_} and length $args->{$_}) or
(defined $args->{"$_-lt"} and length $args->{"$_-lt"}) or
(defined $args->{"$_-gt"} and length $args->{"$_-gt"}))
{

I quess it has to be:

if ((defined $args->{$_} and length $args->{$_}) and
(defined $args->{"$_-lt"} and length $args->{"$_-lt"}) and
(defined $args->{"$_-gt"} and length $args->{"$_-gt"}))
{

Right?



Somehow it still not 100% right because if i have arguments like:

example 1. search.cgi?query=&Link_ok=Tes

It will display a part of a page (so when query is empty)

and if i do:

example 2. search.cgi?query=aa&Link_ok=Tes

So when the query is 2 letters it will display "nothing has been found" but actually u have to enter min. 3 letters to do the real search.


U got any idea's how to solve it? What i want is that it display u have to enter min. 3 letters to do a search...


Cheers...

Last edited by:

startpoint: Jan 23, 2003, 3:12 AM

Edit Log: