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

Improve filters #196

Merged
merged 4 commits into from
Sep 16, 2024
Merged

Improve filters #196

merged 4 commits into from
Sep 16, 2024

Conversation

koeaw
Copy link
Collaborator

@koeaw koeaw commented Sep 16, 2024

  • replace inherited English wordings with German ones
  • unexclude notes field
  • remove redundant Meta declarations
  • update labels, help_texts for consistency

In BaseEntityFilterSet, remove 'notes' field from
excluded fields inherited from AbstractEntityFilterSet
so the ontology-specific 'notes' field (included in
many entities via NotesMixin) shows up in filters.
Remove redundant filterable field + lookup
declarations from Meta classes which repeat
filters declared directly on fields (which
will thus be ignored).
Adapt custom search filter labels and help_texts
to be consistent with generic search field.
Importantly, spell out model fields covered by
each custom search field for clarity.
@koeaw koeaw force-pushed the kk/feat/filters branch 3 times, most recently from e17ed4c to c8d07f4 Compare September 16, 2024 10:23
Replace English (lead-ins of) help_texts of filters
inherited from AbstractEntityFilterSet with German
wordings. Applies to 'changed_since' and generic
'search' fields specifically.
@koeaw koeaw merged commit 2749999 into deploy Sep 16, 2024
3 checks passed
@koeaw koeaw deleted the kk/feat/filters branch September 16, 2024 10:31
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