-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not working 'search' query param with GET /api/jobs endpoint. #4385
Comments
15 tasks
@nmanovic , If #4319 is applied, only the search fields explicitly declared in the viewset class will be displayed in the api document by the SearchFilter class right? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
My actions before raising this issue
Expected Behaviour
(It is specified in the api document to support the 'search' parameter)
Current Behaviour
This is because when checking 'Jobs' page in chrome web browser rather than REST API client (like Postman), stage, state, and assignee filter exist instead of search field, and I think this may be the design or implementation intention.
Possible Solution
(This is possible by adding the code below to @extended_schema_view(list) of the JobViewSet class)
Steps to Reproduce (for bugs)
(
http://localhost:7000/api/jobs?org=test&search=new
)Context
Your Environment
git log -1
): 01eaf36docker version
(e.g. Docker 17.0.05):Logs from `cvat` container
Next steps
You may join our Gitter channel for community support.
The text was updated successfully, but these errors were encountered: