This project is read-only.

Ignore completed tasks

Jul 26, 2011 at 5:07 AM

Hey Ludo!

Is there any way to ignore fetching completed tasks when using GetParentableTaskLists()? Right now my lists are returned with hundreds of completed tasks!

Thanks :D


Jul 28, 2011 at 10:51 PM

That method should return the task-lists (not the tasks themselves). It's only when you start accessing one of those lists' tasks that it would sync.

Back when I wrote this I looked at the way the RTM guys do it on the website, and they also synced all the completed tasks, so I did the same. This makes it simpler when you start running search queries that may need to include completed tasks. Having to manage partially-synced objects can get quite hairy (although it's not impossible to do I guess).

So, answering the question: no, it's not possible to ignore completed tasks, sorry.