From a9a46bc25138cddbf5f681a366ed502ecea6e448 Mon Sep 17 00:00:00 2001 From: Robert van Dijk Date: Sun, 10 Dec 2023 11:51:21 +0000 Subject: [PATCH 1/2] Add filter for committee memberships in export --- ldb/export.py | 7 ++++++- ldb/static/partials/export.html | 12 ++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/ldb/export.py b/ldb/export.py index 12f3c7c..d729c1e 100644 --- a/ldb/export.py +++ b/ldb/export.py @@ -218,7 +218,12 @@ def set_querysets(self, query): "machazine", ], "organization": [], - "person": ["mail_announcements", "mail_company", "mail_education"], + "person": [ + "mail_announcements", + "mail_company", + "mail_education", + "committee_memberships__board", + ], "person__member": ["associate_member", "donating_member", "merit_invitations"], "person__student": ["first_year", "enrolled"], "person__alumnus": [], diff --git a/ldb/static/partials/export.html b/ldb/static/partials/export.html index 8590a0a..1ffba6e 100644 --- a/ldb/static/partials/export.html +++ b/ldb/static/partials/export.html @@ -216,6 +216,18 @@

2. Filters

+ +
+ Commissies +
+
Commissie in:
+
+ + Heeft een Commissie gedaan in dit bestuursjaar. +
+
+
+ From 302f1dc4eeaa410b8f19d40a6d57fc59f1bc8820 Mon Sep 17 00:00:00 2001 From: Robert van Dijk Date: Sun, 10 Dec 2023 11:54:45 +0000 Subject: [PATCH 2/2] Fix typo --- ldb/static/partials/export.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldb/static/partials/export.html b/ldb/static/partials/export.html index 1ffba6e..89da7a1 100644 --- a/ldb/static/partials/export.html +++ b/ldb/static/partials/export.html @@ -223,7 +223,7 @@

2. Filters

Commissie in:
- Heeft een Commissie gedaan in dit bestuursjaar. + Heeft een commissie gedaan in dit bestuursjaar.