0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 17:21:17 -05:00

🐛 Fixed search that displays deprecated materials

This commit is contained in:
alonso.torres 2021-01-14 12:16:30 +01:00
parent 3b6c9f9511
commit cf4a4b2b25

View file

@ -111,11 +111,6 @@
and (ppr.is_admin = true or
ppr.is_owner = true or
ppr.can_edit = true)
union
select p.*
from project as p
where p.team_id = uuid_nil()
and p.deleted_at is null
)
select distinct f.*
from file as f