<tr>
<th><a href="?sort_by={% if sort_by == "doneness" %}-{% endif %}doneness">done</a></th>
<th><a href="?sort_by={% if sort_by == "date" %}-{% endif %}date">date</a></th>
-<th><a href="?sort_by={% if sort_by == "process" %}-{% endif %}process">process</a></th>
+<th><a href="?sort_by={% if sort_by == "title" %}-{% endif %}title">title</a></th>
<th><a href="?sort_by={% if sort_by == "comment" %}-{% endif %}comment">comment</a></th>
</tr>
{% for todo in todos %}
<tr>
<td>[{% if todo.is_done %}x{% else %} {% endif %}]</td>
<td><a href="{{todo.date}}">{{todo.date}}</a></td>
-<td><a href="process?id={{todo.process.id_}}">{{todo.title_then}}</a></td>
+<td><a href="todo?id={{todo.id_}}">{{todo.title_then}}</a></td>
<td><a href="{{todo.comment}}">{{todo.comment}}</a></td>
</tr>
{% endfor %}