[x] 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.
[x] 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
Probably not worth it :-) But we tried! :-D
Modifications:
default_filterable_field
on classes. For exemple if we activate the new system for theOrganization
, we could filter bybadge__kind
automatically by adding afilterable
on thebadges
field.Badge
are now separate classes for each model (Organization
,Reuse
…). It enables to use thechoices
of theStringField
instead of custom validation check