Skip to content
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

Fix filter_backends inside search action #49

Merged

Conversation

duda-prc
Copy link
Contributor

@duda-prc duda-prc commented Feb 19, 2024

By incorporating the API's DEFAULT_FILTER_BACKENDS into filter_backends [search action], we refrain from altering the inherent behavior of the API's.

By incorporating the API's DEFAULT_FILTER_BACKENDS, we refrain from altering the inherent behavior of the API's, such as the sorting field. 
The test developed was built upon the test_app, where 'rest_framework.filters.OrderingFilter' is specified as one of its DEFAULT_FILTER_BACKENDS.
@lucasgomide lucasgomide merged commit a04121b into flamingo-run:main Feb 20, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants