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

Filter by org badge complex #3160

Open
wants to merge 2 commits into
base: filter-by-org-badge
Choose a base branch
from

Conversation

ThibaudDauce
Copy link
Contributor

@ThibaudDauce ThibaudDauce commented Oct 3, 2024

Probably not worth it :-) But we tried! :-D

Modifications:

  • Allow to add a default_filterable_field on classes. For exemple if we activate the new system for the Organization, we could filter by badge__kind automatically by adding a filterable on the badges field.
  • Allow to use custom query for filters (instead of simple equals)
  • Badge are now separate classes for each model (Organization, Reuse…). It enables to use the choices of the StringField instead of custom validation check

@ThibaudDauce ThibaudDauce force-pushed the filter-by-org-badge-complex branch 7 times, most recently from 48ede80 to 6b0e26a Compare October 3, 2024 10:51
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.

1 participant