mirror of
https://github.com/penpot/penpot.git
synced 2025-01-08 07:50:43 -05:00
🐛 Ignore deleted files in dashboard search
This commit is contained in:
parent
bd34fc40b4
commit
c6c5cc4e14
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue