Removed redundant call to not_duplicated from the nomcom/private_index template

It was already applied in the view, and interacted badly with the 
list comprehension method of filtering for NomineePositions that 
had associated questionnaire responses.

Fixes bug 1151

Commit ready for merge
 - Legacy-Id: 6413
This commit is contained in:
Robert Sparks 2013-10-10 20:59:06 +00:00
parent 7c4cf7002f
commit 3814b60c5d

View file

@ -103,7 +103,7 @@ replied to the nomination notification they have received.){% endif %}</p>
<th>State</th>
<th>Questionnaire response</th>
</tr>
{% for np in nominee_positions.not_duplicated %}
{% for np in nominee_positions %}
<tr class="{{ forloop.counter|divisibleby:2|yesno:"oddrow,evenrow" }}">
{% if is_chair %}
<td><input class="batch-select" type="checkbox" value="{{ np.id }}" name="selected"/></td>
@ -123,4 +123,4 @@ replied to the nomination notification they have received.){% endif %}</p>
{% endif %}
</div
{% endblock %}
{% endblock %}