mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #14432: Fix hyperlinks for global search result attributes
This commit is contained in:
@@ -5,7 +5,7 @@ SEARCH_RESULT_ATTRS = """
|
||||
>
|
||||
{{ name|bettertitle }}:
|
||||
{% with url=value.get_absolute_url %}
|
||||
{% if url %}<a href="url">{% endif %}
|
||||
{% if url %}<a href="{{ url }}">{% endif %}
|
||||
{% if value|length > 40 %}
|
||||
{{ value|truncatechars:"40" }}
|
||||
{% else %}
|
||||
|
Reference in New Issue
Block a user