{% extends "_layouts/base.html" %}

{% block content %}
<div class="container">
    {% if request.user.is_authenticated %}
    <h2>Suchergebnisse</h2>

    <ul class="list-group">
        {% for object in object_list %}
        <li class="list-group-item"><a href="{{ object.object.get_absolute_url }}">{% firstof object.object.get_primary_name object.object %}</a></li>
        {% endfor %}
    </ul>
    {% include "notaro/pagination.html" with hide_individual_pagination=True %}
    {% else %}<h1>Bitte einloggen, um diese Seite zu sehen.</h1>
    {% endif %}

</div>
{% endblock %}




{% extends "_layouts/base.html" %}

{% block content %}
<div class="container">
    {% if request.user.is_authenticated %}
    <h2>Suchergebnisse</h2>

    <ul class="list-group">
        {% for object in object_list %}
        <li class="list-group-item"><a href="{{ object.object.get_absolute_url }}">{% firstof object.object.get_primary_name object.object|safe %}</a></li>
        {% endfor %}
    </ul>
    {% include "notaro/pagination.html" with hide_individual_pagination=True %}
    {% else %}<h1>Bitte einloggen, um diese Seite zu sehen.</h1>
    {% endif %}

</div>
{% endblock %}




Add safe filter to search results page.
Add safe filter to search results page.
