bb-plane-fork/apps/api/plane
Dheeraj Kumar Ketireddy 5c842d592e
Chore: Filter backend optimizations (#7900)
* refactor: enhance ComplexFilterBackend and BaseFilterSet for Q object filtering

- Introduced BaseFilterSet to support Q object construction for complex filtering.
- Updated ComplexFilterBackend to utilize Q objects for building querysets.
- Improved error handling and validation in filter methods.
- Refactored filter evaluation logic to streamline query construction.

* fix: improve filter processing in BaseFilterSet to handle empty cleaned_data and optimize filter evaluation

- Added handling for cases where cleaned_data is None or empty, returning an empty Q object.
- Optimized filter evaluation by only processing filters that are provided in the request data.

* update ComplexFilterBackend to pass queryset in filter evaluation
2025-10-06 23:36:16 +05:30
..
analytics chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
api [WEB-5050] feat: updated work item urls with issues. (#7871) 2025-09-30 17:47:05 +05:30
app [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
authentication [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
bgtasks [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
db [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
license [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
middleware [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
seeds/data chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
settings [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
space [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
static chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
tests [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
utils Chore: Filter backend optimizations (#7900) 2025-10-06 23:36:16 +05:30
web chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
asgi.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
celery.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
urls.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
wsgi.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30