From 66407885e2a1465896f110d439d8f4cefaee73b3 Mon Sep 17 00:00:00 2001 From: Jo Sama <jo.sama@usit.uio.no> Date: Mon, 31 Jan 2022 12:39:14 +0100 Subject: [PATCH] Correct filter description of /v1/persons Clean up language and clarify what happens when you set the active parameter of /v1/persons. --- greg/api/views/person.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/greg/api/views/person.py b/greg/api/views/person.py index 8a9fb3f2..8d0000e1 100644 --- a/greg/api/views/person.py +++ b/greg/api/views/person.py @@ -36,7 +36,7 @@ class PersonViewSet(viewsets.ModelViewSet): ), OpenApiParameter( name="active", - description="If try only include persons with an active role", + description="Only persons with an active role is listed if true", required=False, type=bool, ), -- GitLab