Support additional search page plugins.

Created on 18 February 2025, about 2 months ago

Problem/Motivation

Right now, search_current_language only supports the core search.node_search plugin.

There are contrib modules who also provide search page plugins.
- https://drupal.org/project/search_exclude

Saw an issue on the search_exclude project πŸ› Not compatible with search_current_language module Active

Steps to reproduce

Install search_exclude and configure as described on the project page.
Install search_current_language module and set multiple languages.
Install devel_generate module and create a lot of demo content of varying languages.
Run cron to ensure everything is indexed.
Attempt to use your search exclude search page, and see that your searches are not filtered by the current language.

Proposed resolution

Add configuration for enabling on any search page plugin. (Or just support all automatically)

Remaining tasks

Merge request

User interface changes

Search page plugins other than core now utilize this module's functionality.

API changes

N/A

Data model changes

Depends on implementation.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States trackleft2 Tucson, AZ πŸ‡ΊπŸ‡Έ

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024