Skip to content

[3.0] Allow wildcard email searches in member management - #9899

Open
mattago93 wants to merge 1 commit into
SimpleMachines:release-3.0from
mattago93:fix-7620-email-wildcard-search
Open

mattago93 wants to merge 1 commit into
SimpleMachines:release-3.0from
mattago93:fix-7620-email-wildcard-search

Conversation

@mattago93

Copy link
Copy Markdown

Fix the email search field in Admin > Members > Search Members to allow wildcard patterns.

Previously, the field used type="email", causing browser validation to reject search expressions such as *.fr or user?@example.com.

Changing the input type to text allows these patterns to be submitted. The server-side member search logic already supports * and ? as wildcard characters, so no backend changes are needed.

Changes:

  • Change the email search input from type="email" to type="text" in Themes/default/ManageMembers.template.php.
  • No changes to server-side search behavior.

Verification:

  • Confirmed the updated field is present in the committed file.
  • Confirmed the commit changes only one line in one file.
  • PHP unit tests, linting, and browser-based testing have not been run.
  • This template-level change is not covered by an existing automated regression test.

Issues References (Fixes|Related|Closes)

Fixes #7620

Fixes SimpleMachines#7620

Signed-off-by: Mattia <agostini.19@gmail.com>
@github-actions github-actions Bot added the Theme label Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wildcard email search on manage members doesn't work due to type="email"

1 participant