Partial search for extend filter and ordering of filter results

Created on 1 November 2023, 8 months ago

Problem/Motivation

When searching for part of a module's name on the extend page, it won't show it if it isn't the beginning part of the word or part of the description.

Steps to reproduce

  1. Install Drupal
  2. Install addtoany module with composer
  3. Go to: /admin/modules
  4. Type in: "any" (without quotes)
  5. Result: No module results are shown
  6. Expected: AddToAny module is shown

Also, if you search for "Add" then you get a bunch of results, but the module is not first... you get anything where the description includes "add" at the beginning of a word. Examples:

Displays recently added and updated content.
Allows banning visits from specific IP addresses.

It would be great if the names were prioritized over the descriptions.

Proposed resolution

  • Allow partial search, at least for module names
  • Order results so results based on module names are higher than for descriptions

Remaining tasks

  1. Review feasibility and UX
  2. If okay, update code
  3. Review code and test
  4. Commit :)

User interface changes

You will be able to do partial filtering on extend page, at least for module names, and results may be ordered differently.

API changes

Data model changes

Release notes snippet

✨ Feature request
Status

Active

Version

11.0 πŸ”₯

Component
ExtensionΒ  β†’

Last updated 3 days ago

No maintainer
Created by

πŸ‡ΊπŸ‡ΈUnited States Kristen Pol Santa Cruz, CA, USA

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

Comments & Activities

Production build 0.69.0 2024