Incorrect form action URL for views that have page displays

Created on 14 June 2018, about 7 years ago
Updated 17 March 2022, over 3 years ago

When you create a view display block, there is no URL associated to it.

When the ViewsBlockFilterBlockPluginDisplayBlock class gets a form action URL for the exposed_form it tries the getLinkDisplay() function in core Views (https://api.drupal.org/api/drupal/core%21modules%21views%21src%21Plugin%...).

However if you have any displays in the same view which are pages, it will get the URL from the first one of these instead (which will often be incorrect).

πŸ› Bug report
Status

Fixed

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada jeffdavidgordon

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024