todos.sort(key=lambda t: t.is_done)
elif sort_by == '-doneness':
todos.sort(key=lambda t: t.is_done, reverse=True)
- elif sort_by == 'process':
+ elif sort_by == 'title':
todos.sort(key=lambda t: t.title_then)
- elif sort_by == '-process':
+ elif sort_by == '-title':
todos.sort(key=lambda t: t.title_then, reverse=True)
elif sort_by == 'comment':
todos.sort(key=lambda t: t.comment)
</td>
<td>
{% if step_node.is_explicit %}
-add sub-step: <input name="new_step_to_{{step_id}}" list="candidates" autocomplete="off" />
+add sub-step: <input name="new_step_to_{{step_id}}" list="step_candidates" autocomplete="off" />
{% endif %}
</td>
</tr>
<tr>
<th>children</th>
-<td>{{ macros.simple_checkbox_table("adopt", todo.children, "adopt", "todo_candidates", "adopt", true) }}</td>
+<td>{{ macros.simple_checkbox_table("adopt", todo.children, "todo", "todo_candidates", "adopt", true) }}</td>
</tr>
</table>
<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 %}