Skip to content

Commit

Permalink
[#1117] Fixed query params checking
Browse files Browse the repository at this point in the history
  • Loading branch information
vaszig committed Feb 15, 2023
1 parent 0bbf816 commit e7634cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/open_inwoner/plans/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,8 @@ def get_context_data(self, **kwargs):
if user.contact_type == ContactTypeChoices.begeleider:
plans["extended_plans"] = True

if self.request.GET:
# filter plans if necessary
if "plan_contacts" in self.request.GET or "status" in self.request.GET:
filtered_plans = self.get_filtered_plans(initial_qs)
else:
filtered_plans = initial_qs
Expand Down

0 comments on commit e7634cc

Please sign in to comment.