Toon Claes
a723cba574
Avoid plucking Todo ids and use sub-queries instead
...
TodoService should not call `.select(&:id)` on todos, because this is
bad performance. So instead use sub-queries, which will result in a
single SQL query to the database.
https://docs.gitlab.com/ee/development/sql.html#plucking-ids
2017-08-03 16:31:05 +02:00
Stan Hu
303504df47
Revert "Merge branch 'tc-no-todo-service-select' into 'master'"
...
This reverts merge request !10845
2017-04-29 12:29:59 +00:00
Toon Claes
a204d14c67
Avoid plucking Todo ids and use sub-queries instead
...
TodoService should not call `.select(&:id)` on todos, because this is
bad performance. So instead use sub-queries, which will result in a
single SQL query to the database.
https://docs.gitlab.com/ee/development/sql.html#plucking-ids
2017-04-27 09:57:09 +02:00
Jacopo
5f9ace8eb1
Add 'Undo mark all as done' to Todos
...
Added the ability to 'Undo mark all as done' todos marked as complete with 'Mark all as done'
in the 'Todo' tab of the Todo dashboard.
The operation undos only the todo previously marked as done with the 'Mark al as done' button.
2017-03-16 07:15:00 +01:00
Robert Schilling
c280acb00b
Backport API to V3
2017-02-28 08:32:39 +01:00
Robert Schilling
32691ffd4a
Backport Todos API to V3
2017-02-21 12:01:18 +01:00