7

I have a View, in a block, assigned to a region. I have enabled Ajax for the view. Pagination works with Ajax. Exposed filters do not. Exposed filters "submit".

I am definitely willing to cut corners at this point, so if there's a method that can be done with a simple JS function I will do that.

I believe that the problem is related to using the exposed form as a block. When "exposed form in block" is set to "no" ajax filtering does work.

update/solved: I disable "exposed form in block" which I was using to change the position the filters. I then edited the view's template to get the position where I wanted it. so this is "solved" but I am not sure why it didn't work before.

2
  • No problems here maybe you have some JS that is causing a conflict? Check your browser's console for js errors.
    – No Sssweat
    Jul 4, 2016 at 20:23
  • do you solve your problem? Dec 16, 2016 at 19:05

2 Answers 2

4

You must install the Better Exposed Filters module:

What else can I do with BEF?

  • Add help text for each exposed filter
  • Tame long lists with scrollable checkbox/radio button lists or select all/none links
  • Provide instant feedback by updating the View using AJAX whenever an exposed filter is changed
  • Use the jQuery Slider widget for greater-than, less-than or in-between types of filters

You can read more about this in Views exposed filters without "Apply" button

3

Exposed form as a block doesn't work out of the box with a block view.

There is an add-on module that does allow this configuration: Views Block Exposed Filter Blocks

1
  • You saved my life thx!!
    – DarkteK
    Mar 9, 2021 at 5:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.