Commit 56e55dc4 authored by Enrico Zini's avatar Enrico Zini
Browse files

Merge branch 'master' into 'master'

Fix for contributors search not working with full names.

See merge request !9
parents 52d2832e 254cd2f9
Pipeline #166557 passed with stage
in 1 minute and 50 seconds
......@@ -49,7 +49,9 @@ The information is based on <a href="{% url 'sources:list' %}">our current knowl
<tbody>
{% for p in people %}
<tr>
<td data-search="{{p.user.username}}"><a href={{p.user.get_absolute_url}}>{{p.user.full_name|default:p.user}}</a></td>
{% with fname=p.user.full_name %}
<td data-search="{{p.user.username}} {{fname}}"><a href={{p.user.get_absolute_url}}>{{fname|default:p.user}}</a></td>
{% endwith %}
<td data-sort="{{p.until|date:"m"}}">{{p.until|date:"F Y"}}</td>
</tr>
{% endfor %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment