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.
This issue was identified in the comments on #1417630: Exposed form in block doesn't redirect to right path even though I use inherit path . To recreate the issue, take the following steps:
- Create a view.
- Add a Page display to the view.
- Add a content pane display to the view.
- In the content pane display, add an exposed filter.
- Enable the exposed form in block setting.
- Set the link display to use a custom url and provide a new url.
- Create a panel page and add the exposed form in block you just created.
- Visit the page and submit the form. The form directs submissions to the page display in the view.
The patch that jhedstrom provides in comment #6 of that issue resolves this problem.
Comment | File | Size | Author |
---|---|---|---|
#4 | ctools-views-content-custom-url-2401635-04.patch | 776 bytes | patrick.norris |
#3 | ctools-views-content-custom-url-2401635-03.patch | 750 bytes | natew |
#2 | ctools-views-content-custom-url-2401635-02.patch | 746 bytes | szt |
#1 | ctools-views-content-custom-url-1417630-06.patch | 766 bytes | bburg |
Comments
Comment #1
bburgExact copy of jhedstrom's patch in #6 from #1417630: Exposed form in block doesn't redirect to right path even though I use inherit path .
Comment #2
szt CreditAttribution: szt commentedI don't know why, but the link_display option's variable isn't set, so my solution is this patch.
Comment #3
natew CreditAttribution: natew commentedre-spin patch against the latest
Comment #4
patrick.norris CreditAttribution: patrick.norris commentedReroll patch against 7.x-1.21