0
Fork 0
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:
Andrey Antukh 2020-03-17 10:28:54 +01:00 committed by Alonso Torres
parent be9c9f8ce8
commit 8aaffeeb17
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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)