Closed
Bug 764031
Opened 12 years ago
Closed 12 years ago
Account lookup should support searching for username and slug
Categories
(Marketplace Graveyard :: Admin Tools, defect, P3)
Tracking
(Not tracked)
VERIFIED
FIXED
2012-07-19
People
(Reporter: krupa.mozbugs, Assigned: robhudson)
References
()
Details
steps to reproduce:
1. Load https://marketplace-dev.allizom.org/en-US/account-lookup/
2. Search for username "kr-raj"
expected behavior:
Account lookup supports searching for users by their username
observed behavior:
On searching for usernames, search finds no matching results. However, searching for ID and email works fine
Also, should we support searching for slugs and display name?
Comment 1•12 years ago
|
||
Since username == slug, is this different from bug 753869? I don't think display name is being indexed - we could probably benefit from adding that.
Also, Rob, did we reindex `users` from /admin/elastic on -dev?
Assignee | ||
Comment 2•12 years ago
|
||
bug 753869 was an admin thing, and seemingly unrelated to the "admin tools"? It doesn't use ES -- it just hooks into the Django admin search calls, runs some SQL, and returns JSON.
I did not reindex users.
Updated•12 years ago
|
Priority: -- → P3
Updated•12 years ago
|
Assignee | ||
Comment 3•12 years ago
|
||
The user lookup tool looks in ('username', 'display_name', 'email').
I added better exact string matching so multi-word and queries with dashes that get tokenized can still find their match.
https://github.com/mozilla/zamboni/commit/c44f4f0
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → robhudson.mozbugs
Target Milestone: --- → 2012-07-19
Reporter | ||
Comment 4•12 years ago
|
||
verified fixed at https://marketplace-dev.allizom.org/en-US/lookup/user/4771218/summary
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•