I have a view set up to search, and the views-filterblock module pointing to it:

However, when I submit the form, it redirects the page to "?filter0=searchterm" (where searchterm is whatever you enter).

This guy has mentioned it too: http://drupal.org/node/121391.

Apologies if it's something I'm doing wrong, but I've been everywhere and read/tried everything! Thanks!

Comments

karladidas’s picture

Having the same problem here.

karladidas’s picture

Sorry if I am doing this wrong but I think I've found the problem.

It appears that the query string variable "q" isn't being added into the filterblock form html.

It can be simply fixed by changing line 133 in views_filterblock.module

133 return drupal_render($newform);

to :

132 $output .= drupal_render($newform);
133 return $output;

I hope that helps.

douggreen’s picture

It appears that I forgot to make a 5.x.1.2 release. Please download this version and try again. When in doubt, you can always try the 5.x-dev version also.

douggreen’s picture

Status: Active » Fixed

I think that this was fixed, so I'm marking it as such. Please re-open if the 5.x-1.2 version doesn't fix it.

Anonymous’s picture

Status: Fixed » Closed (fixed)