You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: backend/src/openarchiefbeheer/zaken/api/filtersets.py
+4-23
Original file line number
Diff line number
Diff line change
@@ -2,8 +2,6 @@
2
2
3
3
fromdjango.db.modelsimport (
4
4
Case,
5
-
CharField,
6
-
F,
7
5
Func,
8
6
IntegerField,
9
7
Q,
@@ -121,10 +119,10 @@ class ZaakFilterSet(FilterSet):
121
119
lookup_expr="icontains",
122
120
)
123
121
124
-
behandelend_afdeling__icontains=CharFilter(
125
-
field_name="behandelend_afdeling__icontains",
122
+
behandelend_afdeling=CharFilter(
123
+
field_name="behandelend_afdeling",
126
124
method="filter_behandelend_afdeling",
127
-
help_text="The 'behandelend afdeling' is the 'betrokkeneIdentificatie.identificatie' field of the roles related to the case which have betrokkeneType = organisatorische_eenheid.",
125
+
help_text="Filter the zaken that contain in their `_expand.rollen` field the specified rol.",
0 commit comments