I am using exposed filters in block, and views are updated automatically with AJAX (autosubmit).
Also I have 3 views displays - I am using QuickTabs, so user could choose the best view/layout to look at these filtered results.
So I have 1 exposed filter block and 3 views displays. I want this exposed filters block to filter all of these views in different quicktabs at the same time. I know, it is possible to do this without ajax, but I need to use AJAX, so filtered results would appear instantantly.
I tried to give the same dom-id ($view->dom_id) to all of these views, but it doesn't work.
- If I use the same view display in every quicktab and give the same dom-id for every instance of this display, then AJAX work, but it only updates the last instance of the display, all other instances of this display *DISSAPEAR*, I only see blank tabs.
- If I use different views dipslays with same dom-id, then AJAX stops to work and page refreshes every time I choose a filter.
I use hook_views_pre_render() to assign a dom-id.
What other solution can be used to update many views with the same exposed filter block and ajax?
Comments
Comment #0.0
mindaugasd commenteda
Comment #1
mustanggb commented