You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the default starter site or otherwise set up a view to have a "member of" and "descendant of" contextual filter. If setting it up from scratch, go into the block configuration for the Advanced Search (for block) block and select the appropriate contextual filter under the "Context filter" option.
Realize that you have shallow collections so you don't need "Search sub-collections".
Attempt to un-select the "Context Filter" option within the Block configuration for the Search [this collection] block. Find that you can't unselect anything. Ctrl-click doesn't work. "Search sub-collections" checkbox persists.
Remove the "Member of" (or "Descendant of") contextual filter. Now you only have one contextual filter. The "Search sub-collections" checkbox persists.
Go back into the block configuration and find that even though you only have one contextual filter available, it's selected and greyed out (can't un-select). The "Search sub-collections" checkbox persists.
Go into Devel > Config Editor. Remember that the last time you tried to null out an array that was no longer accessible in the GUI, you broke the site and we had to restore from backup. Open the config where the name includes solrsearchcontentadvancedsearchforpage. Note the line context_filter: null. Open the config for solrsearchcontentadvancedsearchforblock. Change the context_filter line to null. Now the "Search sub-collections" checkbox is gone.
Reproduce this issue
context_filter: null. Open the config for solrsearchcontentadvancedsearchforblock. Change thecontext_filterline tonull. Now the "Search sub-collections" checkbox is gone.Who's this affect?
Site admins.