Gossamer Forum
Home : Products : DBMan : Discussions :

strange search results

Quote Reply
strange search results
Hi,
another problem: i have made a searchpage which also includes a field for searching on a keyword (free text can be typed there, and it will search every field). When there is only 1 match then the results turn up allright, but when there are multiple results then those results do not link to the result but to the same page they are on. When i take a look at the link then it shows up there are three values for the field ID in it instead of one!
Like this:
http://xxxxx/dbman/db.cgi?db=default&sb=0&so=descend&uid=default&Branche=*&Regio=*&Aantal+FTE=*&Omzetrange=*&Prijsindicatie=*&keyword=de&view_records=Zoek+naar+bedrijven!&ID=97&ID=86&ID=82
When i use other fields to search and multiple results turn up then everything works just fine!
If anybody could give me a hint about what the problem is then i would be very glad!

greetings, Pieter Overbeeke


Quote Reply
Re: strange search results In reply to
I'm not positive if this is the problem or solution. But from what I see in the link it is including an "*" for certain fields.

&Branche=*&Regio=*&Aantal+FTE=*&Omzetrange=*&Prijsindicatie=*&keyword

so it appears that the search is choosing ALL of the items under each top instead of having it as:

&Branche=&Regio=&Aantal+FTE=&Omzetrange=&Prijsindicatie=&keyword

which would only chooset those that matches the search options chosen. I hope that makes sense.



Unoffical DBMan FAQ
http://webmagic.hypermart.net/dbman/
Quote Reply
Re: strange search results In reply to
Hi,
No thats not the problem, the problem is that at the end of that URL there are three values for the same field:
ID=90&ID=93&ID=97 .... This is an URL which is "created" by DMman when i search on a keyword. See it yourself at:
http://www.wintersport-info.nl/cgi-bin/dbman/zoek.htm
Thanks for your replay and greetings,

Pieter