{% for result in page.object_list %}
<tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
<td class="highlight">
- <a href="{% url "telemeta-item-detail" result.object.public_id %}">{{ result.object.title }}</a>
+ {%ifequal type 'item'%}
+ <a href="{% url "telemeta-item-detail" result.object.public_id %}">{{ result.object.title }}</a>
+ {%else%}
+ {%ifequal type 'collection'%}
+ <a href="{% url "telemeta-collection-detail" result.object.public_id %}">{{ result.object.title }}</a>
+ {%endifequal%}
+ {%endifequal%}
</td>
<td align="center">
{% if result.object.file %}