Add searching members by Discourse username

This commit is contained in:
Tanner Collin 2022-02-06 08:11:28 +00:00
parent 82f3271726
commit d949377e17
2 changed files with 2 additions and 1 deletions

View File

@ -165,6 +165,7 @@ def gen_search_strings():
)
string += ' | ' + m.user.email
string += ' | ' + m.discourse_username
string += ' | ' + str(m.id)
string = string.lower()

View File

@ -172,7 +172,7 @@ export function Members(props) {
<Container>
<Header size='large'>Member List</Header>
<p>Search by name, email, or member ID:</p>
<p>Search by name, email, Spacebar username, or member ID:</p>
<Input autoFocus focus icon='search'
placeholder='Search...'