Skip to content

Commit

Permalink
Remove id prefix post filter (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
chandra-tacc authored Nov 9, 2023
1 parent fb996d5 commit 4d95df1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion server/portal/apps/projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 4d95df1

Please sign in to comment.