Skip to content

Updated User.Search to Prioritize exact match and shorter matches#658

Open
xXPinkmagicXx wants to merge 2 commits into
masterfrom
feature/search-on-exact-match
Open

Updated User.Search to Prioritize exact match and shorter matches#658
xXPinkmagicXx wants to merge 2 commits into
masterfrom
feature/search-on-exact-match

Conversation

@xXPinkmagicXx

Copy link
Copy Markdown
Member

Updated the search function to order by (in priority)

  1. Exact match
  2. prefix match
  3. username length

Also created tests to confirm this behavior in test_user_search.py

1. Exact match
2. prefix match
3. username length

Also created tests to confirm this behavior
@github-actions

Copy link
Copy Markdown

ArchLens - No architecturally relevant changes to the existing views

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant