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 ...@@ -30,7 +30,7 @@ class TodosFinder
items = by_state(items) items = by_state(items)
items = by_type(items) items = by_type(items)
items items.reorder(id: :desc)
end end
private private
...@@ -84,7 +84,7 @@ class TodosFinder ...@@ -84,7 +84,7 @@ class TodosFinder
if project? if project?
@projects = project @projects = project
else else
@projects = ProjectsFinder.new.execute(current_user).reorder(nil) @projects = ProjectsFinder.new.execute(current_user)
end end
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