Use copy of requests GET params in list redirect

This commit is contained in:
Mouse Reeve 2021-04-26 11:43:13 -07:00
parent 7fcf48e84d
commit 5bb341ba52

View file

@ -270,7 +270,7 @@ def add_book(request):
pass
path = reverse("list", args=[book_list.id])
params = request.GET
params = request.GET.copy()
params["updated"] = True
return redirect("{:s}?{:s}".format(path, urlencode(params)))