bb-plane-fork/apps/api/plane/utils
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
..
core [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
filters Chore: Filter backend optimizations (#7900) 2025-10-06 23:36:16 +05:30
openapi [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
__init__.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
analytics_plot.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
build_chart.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
cache.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
color.py [WEB-4566] feat: add background color and goals field to Profile and Workspace models #7485 2025-07-27 21:10:31 +05:30
constants.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
content_validator.py [WIKI-704] fix: hocuspocus error handling (#7898) 2025-10-03 14:01:38 +05:30
date_utils.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
error_codes.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
exception_logger.py [WEB-4380] chore: work item link sentry error (#7316) 2025-07-08 15:43:42 +05:30
global_paginator.py chore: format files using prettier (#7364) 2025-07-08 20:41:11 +05:30
grouper.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
host.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
html_processor.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
imports.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
ip_address.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
issue_filters.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
issue_relation_mapper.py [WIKI-659] chore: added issue relation and page sort order (#7784) 2025-09-15 18:36:00 +05:30
issue_search.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
logging.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
markdown.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
order_queryset.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
paginator.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
path_validator.py [WEB-5044] fix: ruff lint and format errors (#7868) 2025-09-29 19:15:32 +05:30
telemetry.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
timezone_converter.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30
url.py [WEB-4805] fix: upgraded psycopgy packages to fix linting and removed unused imports (#7735) 2025-09-29 14:33:50 +05:30
uuid.py chore: rename server to api (#7342) 2025-07-04 15:32:21 +05:30