Problem/Motivation
We have a view with the "Input required" setting active, forcing users to select a filter before they can see results.
After updating to the beta7 release, the view is not shown any more, not even the exposed widgets.
This seems to be a regression from #3380691: Issue 2919092 breaks BC and causes issues for existing sites, where the appropriate condition || !empty($view->exposed_widgets) was removed (see the comparision between beta4 and beta7)
Proposed resolution
Bring back the condition.
| Comment | File | Size | Author |
|---|---|---|---|
| #11 | no_results_fix-3399878-11.patch | 1.08 KB | alieffring |
| #10 | no_results_fix-3399878-10.patch | 2.83 KB | dpacassi |
Issue fork viewsreference-3399878
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mrshowermanComment #4
maxstarkenburgThis patch helps improves some regressions I'm seeing between beta6 and beta7, though I'm also seeing beta7 to remove view header/footer text (configured to "Display even if view has no result"), so I think the scope of the issue might be larger.
Comment #5
pcambraComment #6
nagy.balint commentedThe patch works fine, thanks!
Comment #7
pcambraComment #9
kurttrowbridgeAs mentioned in #4, header and footer text still don't appear if there are no results, despite a header and/or footer set to display even when there aren't any. I updated the MR to include that as well.
Comment #10
dpacassiAdding a static file from the current stage of https://git.drupalcode.org/project/viewsreference/-/merge_requests/37 in case the MR gets updated/rerolled.
Comment #11
alieffring commentedRerolling patch for beta 8 release
Comment #12
seanbMerged! Thanks.
Comment #13
seanb