Skip to content

Commit

Permalink
Preliminary work on 9583.
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSheps committed Feb 7, 2024
1 parent f7294f7 commit 664a0eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion netbox/utilities/templatetags/form_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,16 @@ def render_field(field, bulk_nullable=False, label=None):
@register.inclusion_tag('form_helpers/render_field.html')
def render_filter_field(field, bulk_nullable=False, table=None, request=None):
"""
Render a single form field from template
Render a single form field from template for use in column headers
"""
url = ""

# Build kwargs for querystring function
kwargs = {
field.name: None
}

# Build request url
if request and table.htmx_url:
url = table.htmx_url + querystring(request, **kwargs)
elif request:
Expand Down

0 comments on commit 664a0eb

Please sign in to comment.