Problem/Motivation

The Block Content Explorer description filter currently uses the "Contains any word" operator. This can return loosely related or unintended matches because partial text matching is allowed.

For cases where exact description matching is required, the filter should use the "Is equal to" operator to provide more precise search results.

Steps to reproduce

  1. Go to the Block Content Explorer page.
  2. Use the description search filter.
  3. Search using a partial keyword.
  4. Observe that unrelated or partially matching results are also returned.

Proposed resolution

Update the description filter configuration in the Block Content Explorer view to use the "Is equal to" operator instead of "Contains any word".

Remaining tasks

  • Update the Views filter configuration.
  • Export the updated View configuration.
  • Verify exact-match filtering behavior.
  • Test for regressions in existing search functionality.

User interface changes

No major UI changes are required. Only the filter matching behavior will change internally.

API changes

No API changes are required.

Data model changes

No data model changes are required.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

  • 3588873-block-description-issue Comparecompare
  • main Comparecompare

Comments

mohnish s. yadav created an issue. See original summary.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

mohnish s. yadav’s picture

Status: Fixed » Closed (fixed)
mohnish s. yadav’s picture

Status: Closed (fixed) » Fixed