Hello:

The set up: Two views, View #1 is a page (Gmap map), Views #2 is a block (list of the same items as the map but as a list). Both have the exact same exposed Taxonomy Term (ID) filter set up, but the reset and auto-submit only work on one at the time. Neither Reset or Auto-submit work in View #2, but they do work in View#1.

Parameters: Each exposed filter has its own unique filter identifier. View #1 "tid", View #2 "fid". Settings for both are identical. Both use Ajax, but only View #2 (the list block) uses a pager with a ten item limit. View#1 uses a Taxonomy argument, View#2 does not. Using views names instead of pages for auto-submit settings in Administration. Exposed filters in both cases are the last of three, the two prior ones being the standard Node Published (yes), Taxonomy Vocabulary (A categories vocabulary).

Tests:

- Changing the filter identifier does nothing to solve the problem.
- Tested all sorts of possible combinations: With and without Taxonomy argument, Ajax on and off, with and without pager, setting Distinct on (which logically has probably little to do with this issue, but just in case), changing order of filters (which is not really a solution, but just to check), changing filters labels (View#1 uses one, Views #2 uses none).
- Removing the views name from the Auto-submit setting (View #1), makes the auto-submit and reset work for View#2. Viceversa, the same.

As far as I can tell, it appears Reset/Auto-submit does not work when two views in the same page use an exposed filter that filters the same items for both independently of each other. It does it show the "reset" button on the view that does not work, but it does nothing and the "apply" button is still present.

Thanks for any bones you can throw my way.

LL

Comments

3rdLOF’s picture

In addition to that, I cannot remove the "reset" button from the view where it is not working.

infojunkie’s picture

Component:General» Views Filters Reset

It is true that Views Filters Reset and Views Filters Auto-submit use a similar buggy mechanism to attach to exposed forms. I committed a fix for Views Filters Reset, please try the latest dev (12 hours from now) and let me know if it handles your case. If it works I will fix the bug in Views Filters Auto-submit.

Re #1: I've opened a new feature request to handle this separate issue: #948180: Control activation of Reset button like Auto-submit settings.

infojunkie’s picture

Version:6.x-1.0-beta1» 6.x-1.x-dev
infojunkie’s picture

Status:Active» Needs review
infojunkie’s picture

Status:Needs review» Fixed

Fixed in Reset and Auto-submit.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.