Gossamer Forum
Home : Products : Gossamer Links : Discussions :

2.99.1 and advanced search -- Bug?

Quote Reply
2.99.1 and advanced search -- Bug?
Access site in d=1 mode.


Clicked on Advanced Search
Step1
Search for a word (which i know doesn't exists ... so as to go to step2 on the same form) with default selection (radio buttons)

Step2 : after no results found.
Search for the same word.
No results found --- fine as expected.

But the URL gets this:

search.cgi?d=ARRAY%25280xaa18a64%2529&query=blahblahblah

and this d=ARRAY%25280xaa18a64%2529

becomes a part of all further navigation obviously.

How to get this fixed??
Had seen this on few test installs of 2.99.0 (slashdemocracy dot org if my memory serves me right).

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================
Quote Reply
Re: [HyperTherm] 2.99.1 and advanced search -- Bug? In reply to
That's not happening here, can you give me a link to your installation?

Adrian
Quote Reply
Re: [brewt] 2.99.1 and advanced search -- Bug? In reply to
It's One Global which is causing the problem i think ... Selecting City

sub {

my $back = q|<select size="1" name="City">|;
$back .= qq|<option value="">All</option>|;
my $table = $DB->table('Links');
$table->select_options('ORDER BY City ASC');
my $sth = $table->select( 'DISTINCT(City)' ) || die $GT::SQL::error;
while (my $hit = $sth->fetchrow_hashref) {
$back .= qq|<option>$hit->{City}</option>|;
}
$back .= q|</select>|;
return $back;
}

Thanks
HyTC
==================================
Mail Me If Contacting Privately Is That Necessary.
==================================