mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-24 03:00:12 +01:00
#300: Removed project from join - fixes problem with null projects.
This commit is contained in:
parent
358f1abba2
commit
a91547265d
1 changed files with 1 additions and 1 deletions
|
|
@ -101,7 +101,7 @@ class Todo < ActiveRecord::Base
|
|||
todo_description = parts[0][0]
|
||||
context_name = parts[0][1]
|
||||
todos = Todo.all(
|
||||
:joins => [:project, :context],
|
||||
:joins => :context,
|
||||
:conditions => {
|
||||
:description => todo_description,
|
||||
:contexts => {:name => context_name}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue