Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
recently, when adding an arbitrary filter in the views ui, it keeps looping between the two configuration popups.
this has something to do with the exposed-filter setting as the configuration window cycles between with-exposed filter and without-exposed filter settings. i can "cancel" any current config window and the filter will then remain either in an exposed or non-exposed state depending on how many times you cycled using the "save" button :)
my current workaround was changing further settings in code using the features module.
Comment | File | Size | Author |
---|---|---|---|
#5 | views_looping_1.png | 75.22 KB | kickingsawdust |
#5 | views_looping_2.png | 74.81 KB | kickingsawdust |
Comments
Comment #1
kickingsawdust CreditAttribution: kickingsawdust commentedBump. Hi dasjo, curious as to what you changed to work around this.
Comment #2
FiNeX CreditAttribution: FiNeX commentedHi! I'm experiencing the same problem using latest -dev version.
Comment #3
dasjokickingsawdust: as i have my views config in-code using the features module, i can manually apply the changes for filters in code
Comment #4
dawehnerIt's working fine here.
Can you please help us to reproduce the problem? No idea how we could fix this when the problem itself does not appear.
Comment #5
kickingsawdust CreditAttribution: kickingsawdust commentedWhat I did to get this problem was create a simple view and then set a filter on Content Type. When I saved it didn't set it to only show the content type I wanted so I clicked on the filter by name in the Filter Criteria section. This opened up the screen you can see in views_looping_1.png. Here I checked the content type I wanted and ticked "is one of" followed by "Apply (all displays) which took me to views_looping_2.png. From there I did basically the same thing and clicked Apply (all displays) which took me back to views_looping_1.png. This continues forever never letting you out. If you click the X to exit in the top right it closes this window but nothing you are trying to set ever gets set.
Comment #6
merlinofchaos CreditAttribution: merlinofchaos commentedI see. This was caused by the code that changes the text of the button. Drupal doesn't recognize the button clicked and picks the first button on the form, which is the expose button.
I just checked in a fix.
Comment #7
FiNeX CreditAttribution: FiNeX commentedThanks for the fix! It solved this issue :-)