Sort tasks by name in the overview
This commit is contained in:
parent
218b3e45a4
commit
4b69bb02ec
|
@ -463,7 +463,7 @@ module StopTime::Controllers
|
|||
def get
|
||||
@tasks = {}
|
||||
Customer.all.each do |customer|
|
||||
@tasks[customer] = customer.unbilled_tasks
|
||||
@tasks[customer] = customer.unbilled_tasks.sort_by { |t| t.name }
|
||||
end
|
||||
render :overview
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue