From 4d95df11af9003c7f74f404c15f20fc5a404265d Mon Sep 17 00:00:00 2001 From: Chandra Y Date: Thu, 9 Nov 2023 10:06:27 -0600 Subject: [PATCH] Remove id prefix post filter (#898) --- server/portal/apps/projects/views.py | 1 - 1 file changed, 1 deletion(-) diff --git a/server/portal/apps/projects/views.py b/server/portal/apps/projects/views.py index d98e8807b..fe25e2bc5 100644 --- a/server/portal/apps/projects/views.py +++ b/server/portal/apps/projects/views.py @@ -84,7 +84,6 @@ def get(self, request): search = search.query(ngram_query | wildcard_query) search = search.extra(from_=int(offset), size=int(limit)) - search = search.filter('prefix', **{'id': f'{settings.PORTAL_PROJECTS_SYSTEM_PREFIX}'}) res = search.execute() hits = list(map(lambda hit: hit.id, res))