From 7e0b04b46ee07e90922caeeecbee51edfc50cfb7 Mon Sep 17 00:00:00 2001 From: Phil Weir Date: Mon, 6 May 2024 20:33:39 +0100 Subject: [PATCH] time_wheel to use string nodegroups --- arches/app/search/time_wheel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arches/app/search/time_wheel.py b/arches/app/search/time_wheel.py index 38b174db76e..2cccf81f0df 100644 --- a/arches/app/search/time_wheel.py +++ b/arches/app/search/time_wheel.py @@ -170,7 +170,7 @@ def appendDateRanges(self, results, range_lookup): return results def get_permitted_nodegroups(self, user): - return [str(nodegroup.pk) for nodegroup in get_nodegroups_by_perm(user, "models.read_nodegroup")] + return get_nodegroups_by_perm(user, "models.read_nodegroup") class d3Item(object):