Added the missing parameter in the __uri_set method of the Pagination utility.
This commit is contained in:
parent
1326d9538c
commit
c286aa8b8b
@ -278,6 +278,8 @@ class Pagination(t.Generic[T]):
|
|||||||
params[i] = (name, value)
|
params[i] = (name, value)
|
||||||
is_found = True
|
is_found = True
|
||||||
i = i + 1
|
i = i + 1
|
||||||
|
if not is_found and value is not None:
|
||||||
|
params.append((name, value))
|
||||||
|
|
||||||
parts: list[str] = list(uri_p)
|
parts: list[str] = list(uri_p)
|
||||||
parts[4] = urlencode(params)
|
parts[4] = urlencode(params)
|
||||||
|
Loading…
Reference in New Issue
Block a user