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.
In addition to (or in place of) the "inherit panel path" checkbox we need a way to let the exposed view form choose the URL to which it should submit.
Has anything been done or planned in this direction yet?
Comments
Comment #1
jwilson3Maybe I should elaborate on the issue I'm having...
Scenario:
One simple view with two displays: a Views Pane, and a Feed display. In the Views UI, the pane display has an exposed filter, the feed display is configured to display a link on the view pane. The feed obviously has its own URL, while the view pane is configured to Use Panel path: Yes. In the Panels UI, a Page is created with a specific URL, and the Views pane is configured with an Override Path set to the Panel page's URL. The exposed form is located in a sidebar region of the panel layout. This all works great; the exposed form submits to the URL of the Panel, the feed icon link works fine.
However, when I try to use the exposed form on a second Panel, the exposed form submits to the URL of the Feed (of all places) when I want it to submit the form to the first Panel containing the Views Pane. I've tried both leaving the "Inherit the Panel path" checked and unchecked on the exposed form pane settings, but neither have an effect on the destination. I even tried a bit of creativity I thought might work by adding the view pane to the second panel and specifying the Override Path, so that the exposed form could use it (which obviously works) however, marking the pane disabled removed the linkage again :-/
I feel like the settings form for the exposed views form could somehow be more intelligent than to simply offer a checkbox to "Inherit the Panel path".
The exposed form knows that the View has a view pane which is configured to use the panel pane, it also knows that there is a feed display which has its own URL. With these two facts in mind, we could offer a list of options to choose from (eg, urls of all the displays) and then a box to specify a custom Override Path.
Thoughts?
Comment #2
jhedstromThis is a duplicate of #1417630: Exposed form in block doesn't redirect to right path even though I use inherit path .