You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This adds a search feature to enable users to search for active users
rather than having to browse for them.
It matches on either name or email address, and partial matches work
based on the start of names, for example "ali" will return "Alissa
Wells" and "lee" will return "Hayley Lee" but does not return "Jayleen
Robertson". "amber.roth@" returns Amber Roth based on email matching.
All searches are case-insensitive.
After the search term has been entered and the "Search" button pressed,
the table updates to show matching results, and the table `<caption>`
(which looks like a heading) includes the count of users and the search
term, eg:
> Showing 2 active users matching “hay”
If the search is empty or on the initial page load, the table caption is
"All active users".
There is no minimum number of characters to search on, so no need to
display any error messages.
If there are no matching results, then the table is completely removed
and replaced with a paragraph saying:
> No users matching “jason”.
Search results are displayed in alphabetical order by first name then
last name.
The search results should be paginated if there are more than the
per-page limit.
🗂️ [Jira card](https://nhsd-jira.digital.nhs.uk/browse/RAVS-959)
## Screenshots


0 commit comments