Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Searching on a Single Field

Quote Reply
Searching on a Single Field
Hi-

I think it used to be possible to search on a single field. For example if I want to set it up to search for a value only in the field called "State", I could set up a form that would generate:

search.cgi?State=California

Then it would search the State field and return only records that have the value of California.
When I try that now on a new version of Links SQL (2.0.5), I get the following error:

Can't call method "fetchrow_hashref" on an undefined value at /usr/www/htdocs/links/admin/Links/User/Search.pm line 148.

Is it no longer possible to search a single field like this? If anyone has any insights or answers, it would be much appreciated...

-jw
Quote Reply
Re: [jwalter] Searching on a Single Field In reply to
Hi,

What version are you using? It works in the demo (2.0.5):

http://www.gossamer-threads.com/...search.cgi?isNew=Yes

Try turning on Debug and see what GT::SQL::error is set to..

Cheers,

Alex
--
Gossamer Threads Inc.