default result sorting to quiz submission descending

completes #85
This commit is contained in:
Mark Moser
2016-12-04 16:41:07 -06:00
parent 73df3d1258
commit 9cf2aeb139
6 changed files with 28 additions and 7 deletions

View File

@ -8,6 +8,7 @@
<th>Test ID</th>
<th>Experience</th>
<th>Recruiter</th>
<th>Submitted on</th>
<th>Interview?</th>
</tr>
@ -16,6 +17,7 @@
<td><%= link_to candidate.test_hash, admin_result_path(candidate.test_hash) %></td>
<td><%= candidate.experience %> years</td>
<td><%= mail_to(candidate.recruiter.email) %></td>
<td><%= candidate.completed_at.strftime('%D') unless candidate.completed_at.nil? %></td>
<td><%= candidate.interview? %></td>
</tr>
<% end %>