From 85f75b4677606c2989acc1e0ba1d35372127ecb9 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Sun, 11 Dec 2022 08:58:55 +0100 Subject: [PATCH] Fixed group by --- src/cpl_query/base/queryable_abc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cpl_query/base/queryable_abc.py b/src/cpl_query/base/queryable_abc.py index b14f63b2..be201073 100644 --- a/src/cpl_query/base/queryable_abc.py +++ b/src/cpl_query/base/queryable_abc.py @@ -221,7 +221,7 @@ class QueryableABC(Sequence): for v in self: value = _func(v) - if v not in groups: + if value not in groups: groups[value] = [] groups[value].append(v)