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 compliance filter groups #4929

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

haneslinger
Copy link
Contributor

Any background context you want to provide?

What's this PR do?

How should this be manually tested?

What are the relevant tickets?

Screenshots (if appropriate)

@haneslinger haneslinger self-assigned this Jan 16, 2025
@kflemin
Copy link
Contributor

kflemin commented Jan 17, 2025

@haneslinger this didn't work for me... I got the following error:
".../seed/seed/utils/properties.py", line 184, in properties_across_cycles_with_filters
views_list = filter_group.views(views_list, columns)
File ".../seed/seed/models/filter_group.py", line 45, in views
filters, annotations, _order_by = build_view_filters_and_sorts(qd, columns, related_model, self.organization.access_level_names)
File ".../seed/seed/utils/search.py", line 451, in build_view_filters_and_sorts
if column["related"]:
TypeError: 'Column' object is not subscriptable

@haneslinger
Copy link
Contributor Author

thank you! try this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants