mirror of
https://github.com/penpot/penpot.git
synced 2026-08-01 19:06:18 +00:00
🐛 Fix backend queries ordering.
This commit is contained in:
parent
be9c9f8ce8
commit
8aaffeeb17
@ -49,7 +49,7 @@
|
|||||||
window pages_w as (partition by f.id order by pg.created_at
|
window pages_w as (partition by f.id order by pg.created_at
|
||||||
range between unbounded preceding
|
range between unbounded preceding
|
||||||
and unbounded following)
|
and unbounded following)
|
||||||
order by f.created_at")
|
order by f.modified_at desc")
|
||||||
|
|
||||||
(s/def ::project-id ::us/uuid)
|
(s/def ::project-id ::us/uuid)
|
||||||
(s/def ::files
|
(s/def ::files
|
||||||
|
|||||||
@ -43,7 +43,7 @@
|
|||||||
select *
|
select *
|
||||||
from projects
|
from projects
|
||||||
where team_id = $2
|
where team_id = $2
|
||||||
order by created_at asc")
|
order by modified_at desc")
|
||||||
|
|
||||||
(s/def ::team-id ::us/uuid)
|
(s/def ::team-id ::us/uuid)
|
||||||
(s/def ::profile-id ::us/uuid)
|
(s/def ::profile-id ::us/uuid)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user