I have the same problem described here by jonahan. Submit returns to the page, even when I use the exact filter terms that I have used successfully in the standard Views filter.

Is this a configuration issue or a bug?

Thanks!

Comments

douggreen’s picture

Can you try the 5.x-dev version and see if this works any better. I recall similar problems once, but thought they were fixed. Are you using clean urls? If not, this might fix it.

henigushi’s picture

Status: Active » Fixed

Turning on clean URLs did the job! Thanks, Doug.

BTW, I was using the 5.x-dev version.

Perhaps the clean URLs requirement could be added to the module ReadMe.txt file...

--henigushi--

douggreen’s picture

Status: Fixed » Active

Actually, I thought it worked without clean url's in the 5.x-dev version. So I'm going to move this back to 'active', so I will remember to look at it again. Thanks!

praseodym’s picture

Version: 5.x-1.1 » 5.x-1.2

Same problem here. Suggestion: add a hidden form field with name="q" and value="(view location") so a HTTP GET will have ?q=(view location).

baja_tz’s picture

Version: 5.x-1.2 » 5.x-1.x-dev

Still doesn't work without clean url's. Actually it works if function 'theme_views_filterblock_output($form)'
is commented but there is no filter titles, also if i put 'return drupal_render($form['q']);' in function there is no titles too.
Is there any way to overcome this, my admins are very restrictive :)

praseodym’s picture

Solution:
Modify views_filterblock() as follows:

function views_filterblock($view) {
  $form = views_filters($view);
  $form['q']['#value'] = $view->url;
  $form['#action'] = url($view->url);
  $form['#views_filterblock'] = true;
  return $form;
}

and comment line 105 (now line 106):

  // $output = drupal_render($form['q']);
praseodym’s picture

Version: 5.x-1.x-dev » 5.x-1.3
baja_tz’s picture

Assigned: Unassigned » baja_tz

Tnx, it works now but partially. There is no first filter title (expanded by deafult) before and after i put your patch, when i click submit, other titles dissapear too, but not all of them, just those which are expanded, not by me. I have 6 filters and after submiting form using just first one, i get 4 filters expanded, without title, and last two not expanded, with title. It's interesting that when i click 'next' to see next portion of results, for moment, titles shows up, and after page is loaded they dissapear again. It's some problem with fieldset, i think, because when i put patch send by davidwhthomas (option to choose plain text instead of fieldsets) it works perfectly. Thank you again. Sorry about my English and such detailed explanation, i tought it might help someone to solve this problems.

douggreen’s picture

Status: Active » Closed (duplicate)

I just checked in a fix for #218287 that looks to be a duplicate of this. Please try the latest version and see if it fixes this problem too. Thanks!