Commit f0ca487c authored by DJ Mountney's avatar DJ Mountney

Reorder the todos because the use of the project finder attempts to order them differently

parent 14a9b0d7
......@@ -30,7 +30,7 @@ class TodosFinder
items = by_state(items)
items = by_type(items)
items
items.reorder(id: :desc)
end
private
......@@ -84,7 +84,7 @@ class TodosFinder
if project?
@projects = project
else
@projects = ProjectsFinder.new.execute(current_user).reorder(nil)
@projects = ProjectsFinder.new.execute(current_user)
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment