Redirect single-result admin user searches #1018

Merged
jimmyb merged 1 commit from codex/issue-1010-single-result-user-search into master 2026-11-06 10:37:17 -06:00
Member

Redirect nonblank admin user searches directly to the existing edit page when exactly one account matches.

This removes an unnecessary navigation step while preserving zero- and multiple-result lists, numeric-ID and username matching, archived accounts, pagination, and existing authorization. The redirect uses the total match count and also handles out-of-range pages.

Verification: 41 focused feature tests passed (249 assertions), covering search results, archived accounts, authorization, pagination, suspicious-user highlighting, and account deletion. Pint, PHPStan, and diff checks passed.

Fixes #1010

Redirect nonblank admin user searches directly to the existing edit page when exactly one account matches. This removes an unnecessary navigation step while preserving zero- and multiple-result lists, numeric-ID and username matching, archived accounts, pagination, and existing authorization. The redirect uses the total match count and also handles out-of-range pages. Verification: 41 focused feature tests passed (249 assertions), covering search results, archived accounts, authorization, pagination, suspicious-user highlighting, and account deletion. Pint, PHPStan, and diff checks passed. Fixes #1010
Redirect single-result admin user searches
All checks were successful
linter / quality (pull_request) Successful in 4m4s
tests / ci (pull_request) Successful in 18m22s
44422561ad
jimmyb merged commit 8bf3c4a2fa into master 2026-11-06 10:37:17 -06:00
jimmyb deleted branch codex/issue-1010-single-result-user-search 2026-11-06 10:37:17 -06:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MyVideoGameList/myvideogamelist.com!1018
No description provided.