Skip to content

Commit

Permalink
Fixes #14432: Fix hyperlinks for global search result attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremystretch committed Dec 7, 2023
1 parent f58d806 commit 5d2f499
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions docs/release-notes/version-3.7.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion netbox/netbox/tables/template_code.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
>
{{ 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 %}
Expand Down

0 comments on commit 5d2f499

Please sign in to comment.