mirror of
https://github.com/penpot/penpot.git
synced 2025-02-13 10:38:13 -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
|
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…
Add table
Reference in a new issue