1
0
mirror of https://github.com/netbox-community/netbox.git synced 2024-05-10 07:54:54 +00:00

Fixes #12299: Fix object list widget support for filtering by multiple values

This commit is contained in:
jeremystretch
2023-04-21 11:54:28 -04:00
parent 8cf0a79dee
commit 2fe5592c3c
2 changed files with 2 additions and 1 deletions

View File

@ -229,7 +229,7 @@ class ObjectListWidget(DashboardWidget):
htmx_url = None
if parameters := self.config.get('url_params'):
try:
htmx_url = f'{htmx_url}?{urlencode(parameters)}'
htmx_url = f'{htmx_url}?{urlencode(parameters, doseq=True)}'
except ValueError:
pass
return render_to_string(self.template_name, {