When I update module from 3.6 to 3.7 my views not working and show alert window - Search results cannot be filtered, please contact site administrator.
In site log this message:
Search results cannot be filtered for view - "my_views", display - "page"
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | ajax_facets_missing_display_option_access.png | 65.86 KB | fox mulder |
Comments
Comment #2
zulljin commentedComment #3
antonio.bertolini commentedHi,
same to me... I think is correlated to
https://www.drupal.org/node/2900984
So, I apply patch #8 but it's not enough. I wrote about it on that issue.
Antonio
Comment #4
nerdcore commentedSame issue here and no idea as to cause.
I'm bumping this to Critical since it seems to be completely nonfunctional at this time.
Comment #5
april26 commentedI'm also having this problem on all facets.
Is it due to this problem: https://www.drupal.org/node/2900984?
Comment #6
kevinquillen commentedYou need to add an access rule to the View showing the search results.
In my case, the view had "Access: None" - I needed to set it to "Permission: view published content" (basic permission), and the view worked again without this error.
Marking back as normal - it was a change that was introduced in a recent security patch, so the View(s) you have need to be updated.
From the code:
Until they find a way to resolve the issue that was linked, setting an access level on the view will resolve this for now.
Comment #7
fox mulder commented#6 doesn't solve the issue for me.
I added access setting to view display ( and cleared all caches ) but the
$view->display[$dis_id]->display_options['access']still does not exist. See the debug code:This is a Content pane type view display included into a minipanel
Comment #8
fox mulder commentedI think I see...: I added the access setting to view display: Permission: View published content. But this is the default and the setting was not included into display_options after saving the view...
to cut to the chase: make sure the access key exists in the view export in the corresponding view display
Comment #9
shoeman commentedI'm having the same problem as @fox mulder. Tried #6 and flushed cache but the same message pops up.
I also have the same line on my export.
$handler->display->display_options['access']['type'] = 'perm';
Is that set correctly or does something need changed?
Reverting back to version 3.6 fixes my facets. But that won't work long term.
Comment #10
eugene.ilyin commentedHello.
The related issue has been fixed and instruction from #6 have to help.
Comment #11
eugene.ilyin commented