mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
Merge branch 'feat/pagination' of github.com:makeplane/plane into feat/pagination
This commit is contained in:
commit
a28afad8c8
@ -457,7 +457,9 @@ class SubGroupedOffsetPaginator(OffsetPaginator):
|
||||
)
|
||||
|
||||
def __get_subgroup_total_queryset(self):
|
||||
return self.queryset.values(self.sub_group_by_field_name).annotate(
|
||||
return self.queryset.values(
|
||||
self.group_by_field_name, self.sub_group_by_field_name
|
||||
).annotate(
|
||||
count=Count(
|
||||
"id",
|
||||
filter=self.count_filter,
|
||||
|
Loading…
Reference in New Issue
Block a user