Rewrite of #723
On the Project Roles page (e.g. https://dev.getodk.cloud/projects/1/users), user search isn't very helpful:
Current searching for "a" gives one obscure hit:
But checking https://dev.getodk.cloud/users, there are two users whose names and emails both start with a, which are not even matched.
It might be helpful to add ILIKE or fuzzy search to the search functionality at:
https://github.com/getodk/central-backend/blob/ba45b5ff99a076e0a02dc53c793e62d24fa3610a/lib/model/query/users.js#L69-L75
See tests at:
https://github.com/getodk/central-backend/blob/ba45b5ff99a076e0a02dc53c793e62d24fa3610a/test/integration/api/users.js
Rewrite of #723
On the Project Roles page (e.g. https://dev.getodk.cloud/projects/1/users), user search isn't very helpful:
Current searching for "a" gives one obscure hit:
But checking https://dev.getodk.cloud/users, there are two users whose names and emails both start with a, which are not even matched.
It might be helpful to add
ILIKEor fuzzy search to the search functionality at:https://github.com/getodk/central-backend/blob/ba45b5ff99a076e0a02dc53c793e62d24fa3610a/lib/model/query/users.js#L69-L75
See tests at:
https://github.com/getodk/central-backend/blob/ba45b5ff99a076e0a02dc53c793e62d24fa3610a/test/integration/api/users.js