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:
@ -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, {
|
||||
|
Reference in New Issue
Block a user