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

This commit is contained in:
DJ Mountney 2016-06-02 14:17:46 -07:00
parent 14a9b0d7dd
commit f0ca487cd5
1 changed files with 2 additions and 2 deletions

View File

@ -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