This topic is locked

Search bug with ajax lookups

4/21/2008 7:00:23 AM
PHPRunner General questions
S
steveh author

Hi,
I have a single search field for a view (although I do have multiple advanced search fields).
The only field that has search enabled is year, however when I allow the timeout to occur for the lookup, I see multiple "select distincts" being run, not just for the year field.
This is confusing for the user as they expect matches to be (e.g.) 2007, 2008, 2009 etc but they also see the values from other fields.
I'm just about to check, but I'm guessing that the search is using all the fields also enabled for advanced searching.

S
steveh author 4/21/2008

Having checked I can confirm that it's using the ticked fields on the advanced search to provide the results for the search which is wrong.

J
Jane 4/21/2008

Steve,
thank you for pointing me to this bug.

We'll fix it in one of the next update.

S
steveh author 4/25/2008

Any ETA for a build that fixes this?

S
steveh author 5/19/2008

Any ETA for this?

J
Jane 5/20/2008

Steve,
this bug haven't fixed yet.
To make your pages working open C:/Program Files/PHPRunner4.2/source/searchsuggest.php file, find this line:

##foreach Fields as @f filter (@f.bSearch || @f.bAdvancedSearch)##



and replace it with this one:

##foreach Fields as @f filter (@f.bSearch )##