mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 02:28:18 -05:00
🐛 Fix backend queries ordering.
This commit is contained in:
parent
be9c9f8ce8
commit
8aaffeeb17
2 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@
|
|||
window pages_w as (partition by f.id order by pg.created_at
|
||||
range between unbounded preceding
|
||||
and unbounded following)
|
||||
order by f.created_at")
|
||||
order by f.modified_at desc")
|
||||
|
||||
(s/def ::project-id ::us/uuid)
|
||||
(s/def ::files
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
select *
|
||||
from projects
|
||||
where team_id = $2
|
||||
order by created_at asc")
|
||||
order by modified_at desc")
|
||||
|
||||
(s/def ::team-id ::us/uuid)
|
||||
(s/def ::profile-id ::us/uuid)
|
||||
|
|
Loading…
Add table
Reference in a new issue