mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
Fixes #8872: Enable filtering by custom object fields
This commit is contained in:
@@ -29,11 +29,9 @@
|
||||
{% elif field.type == 'object' and value %}
|
||||
{{ value|linkify }}
|
||||
{% elif field.type == 'multiobject' and value %}
|
||||
<ul>
|
||||
{% for obj in value %}
|
||||
<li>{{ obj|linkify }}</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% for obj in value %}
|
||||
{{ obj|linkify }}{% if not forloop.last %}<br />{% endif %}
|
||||
{% endfor %}
|
||||
{% elif value %}
|
||||
{{ value }}
|
||||
{% elif field.required %}
|
||||
|
Reference in New Issue
Block a user