Solutionunvalidated
Update the backend to use DRF search/filters consistently (e.g., set `search_fields = ['name']` and/or accept the frontend’s `search` query param and apply `icontains`/`SearchFilter`). In the frontend, send the correct query parameter name/value and properly handle the fetch response (e.g., `const data = await response.json()` and return it).
cb7c0905-a0f3-4133-8cd1-97b16694c777
Update the backend to use DRF search/filters consistently (e.g., set search_fields = ['name'] and/or accept the frontend’s search query param and apply icontains/SearchFilter). In the frontend, send the correct query parameter name/value and properly handle the fetch response (e.g., const data = await response.json() and return it).