Skip to content

Commit

Permalink
Fix search query
Browse files Browse the repository at this point in the history
  • Loading branch information
brendancsmith committed Sep 17, 2024
1 parent bffee9c commit 3ea420c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/app/importing.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ async def get_articles(
search_query += f'+text%3A"{query}"'
if tag:
search_query += f'+tags.label%3A"{tag}"'
params = {"query": query, "size": size, "offset": offset}

params = {"query": search_query, "size": size, "offset": offset}

try:
response = await client.search(params)
Expand Down

0 comments on commit 3ea420c

Please sign in to comment.