From cf4a4b2b25a77d7c9f9e112fa0650be358638cc5 Mon Sep 17 00:00:00 2001 From: "alonso.torres" Date: Thu, 14 Jan 2021 12:16:30 +0100 Subject: [PATCH] :bug: Fixed search that displays deprecated materials --- backend/src/app/rpc/queries/files.clj | 5 ----- 1 file changed, 5 deletions(-) diff --git a/backend/src/app/rpc/queries/files.clj b/backend/src/app/rpc/queries/files.clj index fca4e92ebf..ee75e2ca82 100644 --- a/backend/src/app/rpc/queries/files.clj +++ b/backend/src/app/rpc/queries/files.clj @@ -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