Sunday, April 25, 2010

Drupal View with exposed filter inside a panel hides on submit

If you are using Drupal to display a view inside a Panel you might have noticed that on clicking the apply button of an exposed filter the results are no longer shown inside the panel rather they redirect you to the view itself. This is not we expect as we might have another panes with data to be displayed on that page. This is a trivial issue but need to be fixed. A simple fix is to override URL on your panel by going to panel-> content -> settings (right click) and then in the override URL setting set the URL of the panel.
For example:
1) your panel is
2) your view is

In the settings of mypanel you should set Override URL to mypanel, this will take care of the issue. Hope this helps.

No comments:

Post a Comment