Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I tried to set basic dependent exposed select widgets and while they work as they should, JS behavior of this module seems strange to me:
- if AJAX in view is set to false, the JS on page, where exposed filters are used is broken. I tested it with Panels and Panels Tabs. Aditionally, error messages like
TypeError: Drupal.ajax is undefined
are displayed in browser console. Please see the enclosed screenshot. - if AJAX is set to true, JS on page isn't broken, but the dependent filter is not filtered by AJAX request - I had to use "Submit" button to make it work. I also tried to mitigate it with "autosubmit" button, but it doesn't work.
The module lacks readme file, so it's entirely possible, that I'm doing something wrong.
Comment | File | Size | Author |
---|---|---|---|
screen_020.png | 207.12 KB | milos.kroulik |
Comments
Comment #1
maximpodorov CreditAttribution: maximpodorov commentedThere could be a bug: if dependent filters are defined, the view must have AJAX option be turned on. This should be fixed. But I don't know why it doesn't work in case of AJAX=on.
Comment #2
todinov CreditAttribution: todinov commentedI'm having the same problem (or very similar). When I select a filter value there is an ajax error from entityreference_filter saying that the AJAX HTTP request terminated abnormally. When I try to open the URL manually, it opens without any trouble and displays the command JSON. I haven't tested on a clean install, so it might be an issue related to working with another module.
Any help is appreciated.
Comment #3
todinov CreditAttribution: todinov commentedI tracked my problems to actually come from the integration with Better Exposed Filters. I will be posting a new issue about that.
Comment #4
maximpodorov CreditAttribution: maximpodorov commentedCould you try the current dev version? It stops updating of dependent filters if the view has auto-submitting exposed form.
Comment #5
maximpodorov CreditAttribution: maximpodorov commentedDoes the problem exist in he last version of the module?