mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 19:28:12 +00:00
🐛 Dont return duplicated files on dashboard.
This commit is contained in:
parent
0cb6ecadb6
commit
9f8936ea40
@ -26,7 +26,8 @@
|
||||
(s/def ::user ::us/uuid)
|
||||
|
||||
(su/defstr sql:generic-project-files
|
||||
"select pf.*,
|
||||
"select distinct on (pf.id, pf.created_at)
|
||||
pf.*,
|
||||
p.name as project_name,
|
||||
array_agg(pp.id) over pages_w as pages
|
||||
from project_files as pf
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user