mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Ignore deleted files in dashboard search
This commit is contained in:
parent
bd34fc40b4
commit
c6c5cc4e14
@ -62,6 +62,7 @@
|
||||
inner join projects as pr on (file.project_id = pr.id)
|
||||
left join page on (file.id = page.file_id)
|
||||
where file.name ilike ('%' || ? || '%')
|
||||
and file.deleted_at is null
|
||||
window pages_w as (partition by file.id order by page.created_at
|
||||
range between unbounded preceding
|
||||
and unbounded following)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user