mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-10 11:18:51 +01:00
Merge branch 'master' into new-gui
Conflicts: Gemfile.lock
This commit is contained in:
parent
fa537fbeb0
commit
eb1502d4e0
28 changed files with 385 additions and 221 deletions
|
|
@ -3,7 +3,7 @@ class FixIncorrectlyHiddenTodos < ActiveRecord::Migration
|
|||
hidden_todos_without_project =
|
||||
Todo.where(:state => 'project_hidden', :project_id => nil)
|
||||
|
||||
active_projects = Project.where(:state => 'active')
|
||||
active_projects = Project.where(:state => 'active').select("id")
|
||||
hidden_todos_in_active_projects =
|
||||
Todo.where(:state => 'project_hidden').where("project_id IN (?)", active_projects)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue