mirror of
https://github.com/penpot/penpot.git
synced 2026-05-25 18:03:43 +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)
|
inner join projects as pr on (file.project_id = pr.id)
|
||||||
left join page on (file.id = page.file_id)
|
left join page on (file.id = page.file_id)
|
||||||
where file.name ilike ('%' || ? || '%')
|
where file.name ilike ('%' || ? || '%')
|
||||||
|
and file.deleted_at is null
|
||||||
window pages_w as (partition by file.id order by page.created_at
|
window pages_w as (partition by file.id order by page.created_at
|
||||||
range between unbounded preceding
|
range between unbounded preceding
|
||||||
and unbounded following)
|
and unbounded following)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user