Skip to content

BACKEND - Modify GetUsers in UserEndpoints #70

@romaneriksen

Description

@romaneriksen

What needs to be changed

Update the GetUsers endpoint to perform user search based on first name, last name, or both, instead of email.

Why this is needed

The GetUsers endpoint is used in both the student and teacher search views. To improve the search functionality and make it more intuitive, the endpoint should match users based on their names rather than email addresses.

How to implement

Modify the logic in the GetUsers endpoint to:

  • Match users by first name, last name, or a combination of both
  • Ensure the search is case-insensitive
  • Remove or ignore any email-based filtering in the search

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions