mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-17 15:50:13 +01:00
fix autocompletion for editing of recurring todos
This commit is contained in:
parent
9acb01e9cb
commit
566cdf8049
2 changed files with 16 additions and 17 deletions
|
|
@ -343,7 +343,6 @@ class TodosController < ApplicationController
|
|||
@hidden_todos = current_user.todos.find(:all,
|
||||
:include => [:taggings, :tags, :context],
|
||||
:conditions => ['tags.name = ? AND (todos.state = ? OR (contexts.hide = ? AND todos.state = ?))', @tag_name, 'project_hidden', true, 'active'])
|
||||
#@hidden_todos = tag_collection.find(:all, :conditions => ['taggings.user_id = ? and state = ?', current_user.id, 'project_hidden'])
|
||||
|
||||
@contexts = current_user.contexts.find(:all)
|
||||
@contexts_to_show = @contexts.reject {|x| x.hide? }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue