mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00:00
fix: order by grouped pagination
This commit is contained in:
parent
cf470d715a
commit
ae339bc19c
@ -203,7 +203,7 @@ class GroupedOffsetPaginator(OffsetPaginator):
|
||||
row_number=Window(
|
||||
expression=RowNumber(),
|
||||
partition_by=[F(self.group_by_field_name)],
|
||||
order_by=F(self.group_by_field_name).asc(),
|
||||
order_by=(*self.key,),
|
||||
)
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user