I'm using two exposed filters on a page with Views Slideshow Galleria (as a block).

When changing a filter, the shown images will be filtered correctly. But when changing it again (or change the other exposed filter), the shown images remain the same. In other words: the gallery sticks with the primary selected filter.

I've tested this with another display (grid), to make sure that it isn't a Views issue. The result was that it worked fine on that very same page.

Remarkably though: the exposed filters work perfectly when previewing it with Galleria in the Views UI itself. The functionality of the exposed filters only breaks on the page where it is published, being a custom theme (Omega) or the Bartik theme alike.

On the page you'll find the Galleria and the grid together.

Any idea what may be going wrong here?

Comments

knalstaaf’s picture

Issue summary: View changes

omega

knalstaaf’s picture

I see where it goes wrong: it misses the arguments in the url (e.g. domain.com/my-age?field_productgroup_tid=9&field_material_tid=All).

Is this because the Galleria view resides in a block which blocks off the ajax that's being used?

Edit: when using the grid display, it doesn't show the arguments in the address bar of the browser either, but it does work properly...

knalstaaf’s picture

Issue summary: View changes

as instead of within

knalstaaf’s picture

Title: Not working with multiple exposed filters » Repeats the first call after selecting an option with an exposed filter

We've noticed that, when switching off the "autosubmit" in the exposed form options, ànd setting Use ajax to "No", the Galleria slideshow works as it should*. Be it with the use of a submit button now.

The title initially read "not working with multiple exposed filters", but the fact that there is more than one exposed filter doesn't matter. The issue occurs already with a single exposed filter.

The problem is that when you make a choice with that exposed filter, it will show the correct results (images). If you make another choice with the same exposed filter, it reloads the results from the first choice.

Hopefully the new title reflects this issue more accurately. Feel free to modify it if deemed necessary.

knalstaaf’s picture

Priority: Normal » Major

*The above method only works for a views page (as it changes the arguments in the address bar of the browser), not for a block.

It seems to us that the setting Use ajax: Yes is little villain in this issue.

Marking this as major.

knalstaaf’s picture

Issue summary: View changes

better url