From faa1e89ebccc2c99d0a9a1b69c5d2ca3eab83f77 Mon Sep 17 00:00:00 2001 From: Andrea Cecchi Date: Mon, 30 Sep 2024 12:19:51 +0200 Subject: [PATCH] fix typo --- src/iosanita/policy/restapi/services/search_filters/get.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iosanita/policy/restapi/services/search_filters/get.py b/src/iosanita/policy/restapi/services/search_filters/get.py index 4548032..bb055c1 100644 --- a/src/iosanita/policy/restapi/services/search_filters/get.py +++ b/src/iosanita/policy/restapi/services/search_filters/get.py @@ -94,7 +94,7 @@ def get_portal_types(self): types = [ { "label": translate(ttool[t].Title(), context=self.request), - "id": t, + "value": t, } for t in ptool.getUserFriendlyTypes() if t not in types_not_searched