mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-23 04:22:01 -06:00
Force string formatting of integer values
This commit is contained in:
parent
ce1a2875bc
commit
dc70fdbe03
@ -178,7 +178,7 @@ def querystring(request, **kwargs):
|
||||
querydict = request.GET.copy()
|
||||
for k, v in kwargs.items():
|
||||
if v is not None:
|
||||
querydict[k] = v
|
||||
querydict[k] = str(v)
|
||||
elif k in querydict:
|
||||
querydict.pop(k)
|
||||
querystring = querydict.urlencode(safe='/')
|
||||
|
Loading…
Reference in New Issue
Block a user