Skip to content
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

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 31, 2023

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)

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]>
@dependabot dependabot bot requested a review from a team as a code owner January 31, 2023 22:14
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Jan 31, 2023
@bberndt-uaz
Copy link
Contributor

Copy link
Contributor

@bberndt-uaz bberndt-uaz left a 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:

image

Instead, it seems this module simply provides some checkboxes hidden in "Advanced Search" which allow users to filter the results by content type:

image

@bberndt-uaz
Copy link
Contributor

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.

@trackleft
Copy link
Member

So, this module doesn't work at all then?

@bberndt-uaz
Copy link
Contributor

bberndt-uaz commented Mar 10, 2023

It works as long as you don't make a change that causes the content you want excluded to be indexed.

@joeparsons
Copy link
Member

Copy link
Member

@joeparsons joeparsons left a 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.

@joeparsons joeparsons merged commit b8195ff into main Mar 24, 2023
@joeparsons joeparsons deleted the dependabot/composer/drupal/search_exclude-3.0.0-beta1 branch March 24, 2023 17:55
@trackleft trackleft mentioned this pull request Jun 16, 2023
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.7.x only dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

3 participants