-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update drupal/search_exclude requirement from 2.0.0-beta2 to 3.0.0-beta1 #2193
Update drupal/search_exclude requirement from 2.0.0-beta2 to 3.0.0-beta1 #2193
Conversation
Updates the requirements on drupal/search_exclude to permit the latest version. --- updated-dependencies: - dependency-name: drupal/search_exclude dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it correct that this module does not automatically exclude any nodes from search results? Both in Probo and in a Quickstart 2.5.1 sandbox, I created a new search page to exclude News and Person nodes, but even after disabling the other search pages and re-indexing the site, I still got search results for those nodes:
Instead, it seems this module simply provides some checkboxes hidden in "Advanced Search" which allow users to filter the results by content type:
After some further testing with both versions of search_exclude, it seems that once a node gets indexed it will always show up in search results, even if you modify the search page to exclude it. For example, if you modify the default "Content" search page to remove Carousel items from being excluded and then re-index the site, the Carousel items will continue to show up in search results even after you change the search page back to excluding Carousel items, set the site to re-index, and run cron. |
So, this module doesn't work at all then? |
It works as long as you don't make a change that causes the content you want excluded to be indexed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it should be OK to apply this update. Sounds like the problem @bberndt-uaz encountered is an existing issue that we could consider contributing a patch for if needed.
Updates the requirements on drupal/search_exclude to permit the latest version.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)