Skip to content
Snippets Groups Projects
Verified Commit 5135a6c0 authored by Georg Krause's avatar Georg Krause
Browse files

fix(filters): Make filters work after API change

parent 6ce6ac30
No related branches found
No related tags found
1 merge request!43Apply patches from the server
Pipeline #26100 passed with stage
in 1 minute and 43 seconds
...@@ -50,7 +50,7 @@ async def index(request): ...@@ -50,7 +50,7 @@ async def index(request):
async def domains(request): async def domains(request):
if request.method == "GET": if request.method == "GET":
filters = await parser.parse(domain_filters, request) filters = await parser.parse(domain_filters, request, location="querystring")
limit = int(request.query.get("limit", default=0)) limit = int(request.query.get("limit", default=0))
rows = await db.get_domains(request["conn"], **filters) rows = await db.get_domains(request["conn"], **filters)
total = len(rows) total = len(rows)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment