mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 12:01:14 +00:00
Remove query in view response
This commit is contained in:
parent
a1f76fa208
commit
793ce4d33b
1 changed files with 0 additions and 3 deletions
|
@ -222,8 +222,6 @@ class EmbedList(View):
|
|||
if list_key != embed_key:
|
||||
raise Http404()
|
||||
|
||||
query = request.GET.get("q")
|
||||
|
||||
# sort_by shall be "order" unless a valid alternative is given
|
||||
sort_by = request.GET.get("sort_by", "order")
|
||||
if sort_by not in ("order", "title", "rating"):
|
||||
|
@ -262,7 +260,6 @@ class EmbedList(View):
|
|||
"page_range": paginated.get_elided_page_range(
|
||||
page.number, on_each_side=2, on_ends=1
|
||||
),
|
||||
"query": query or "",
|
||||
}
|
||||
return TemplateResponse(request, "lists/embed-list.html", data)
|
||||
|
||||
|
|
Loading…
Reference in a new issue