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:
@ -1,3 +1,11 @@
|
||||
# NetBox v3.7
|
||||
|
||||
## v3.7-beta2 (FUTURE)
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* [#14432](https://github.com/netbox-community/netbox/issues/14432) - Fix hyperlinks for global search result attributes
|
||||
|
||||
## v3.7-beta1 (2023-12-05)
|
||||
|
||||
### Breaking Changes
|
||||
|
@ -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