Now that we have normal CRUD functionality for individual admin pages.
We need a basic name based search endpoint for each of the following admin pages:
Users
Students
Schools
Donations
The url should be GET /<resource name>/search?q=yoursearchtermhere.
For users, it should search try to search the term in both username and display_name.
For students, it should search by name.
For schools, it should search by name.
For donations, it should search by donator's username and display_name as well as student's name.
Now that we have normal CRUD functionality for individual admin pages.
We need a basic name based search endpoint for each of the following admin pages:
The url should be GET
/<resource name>/search?q=yoursearchtermhere
.For users, it should search try to search the term in both
username
anddisplay_name
. For students, it should search byname
. For schools, it should search byname
. For donations, it should search by donator'susername
anddisplay_name
as well as student'sname
.