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.

CommentFileSizeAuthor
screen_020.png207.12 KBmilos.kroulik
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

maximpodorov’s picture

There 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.

todinov’s picture

I'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.

todinov’s picture

I tracked my problems to actually come from the integration with Better Exposed Filters. I will be posting a new issue about that.

maximpodorov’s picture

Could you try the current dev version? It stops updating of dependent filters if the view has auto-submitting exposed form.

maximpodorov’s picture

Status: Active » Postponed (maintainer needs more info)

Does the problem exist in he last version of the module?