mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 04:16:40 +02:00
🐛 Fix deleted files appear in search results
This commit is contained in:
parent
6b4bca50ee
commit
c851f60de4
2 changed files with 2 additions and 0 deletions
|
@ -45,6 +45,7 @@
|
|||
from file as f
|
||||
inner join projects as pr on (f.project_id = pr.id)
|
||||
where f.name ilike ('%' || ? || '%')
|
||||
and (f.deleted_at is null or f.deleted_at > now())
|
||||
order by f.created_at asc")
|
||||
|
||||
(defn search-files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue