diff --git a/search/templates/search/index.html b/search/templates/search/index.html
index 23b57cce..84ba501c 100644
--- a/search/templates/search/index.html
+++ b/search/templates/search/index.html
@@ -59,7 +59,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% endif %}
{% if ports %}
{% trans "Results among ports" %}
- {% include "topologie/aff_port.html" with port_list=ports %}
+ {% include "topologie/aff_port.html" with port_list=ports search=True %}
{% endif %}
{% if switches %}
{% trans "Results among switches" %}
diff --git a/topologie/templates/topologie/aff_port.html b/topologie/templates/topologie/aff_port.html
index c7c6a0b4..d6f18316 100644
--- a/topologie/templates/topologie/aff_port.html
+++ b/topologie/templates/topologie/aff_port.html
@@ -46,7 +46,11 @@ with this program; if not, write to the Free Software Foundation, Inc.,
{% for port in port_list %}
- {{ port.port }} |
+ {% if search %}
+ {{ port.port }} |
+ {% else %}
+ {{ port.port }} |
+ {% endif %}
{% if port.room %}
{{ port.room }}
|