Fix for task actions thread when permasql present

pull/14/head
Sam Bosley 12 years ago
parent 118da428b4
commit 8de86ff68b

@ -72,6 +72,7 @@ import com.todoroo.andlib.utility.Pair;
import com.todoroo.andlib.utility.Preferences;
import com.todoroo.astrid.activity.TaskListFragment;
import com.todoroo.astrid.api.AstridApiConstants;
import com.todoroo.astrid.api.PermaSql;
import com.todoroo.astrid.api.TaskAction;
import com.todoroo.astrid.api.TaskDecoration;
import com.todoroo.astrid.api.TaskDecorationExposer;
@ -786,6 +787,8 @@ public class TaskAdapter extends CursorAdapter implements Filterable {
else
groupedQuery = query.get() + " GROUP BY " + Task.ID;
groupedQuery = PermaSql.replacePlaceholders(groupedQuery);
Query q = Query.select(Task.ID, Task.TITLE, Task.NOTES, Task.COMPLETION_DATE,
fileIdProperty)
.join(Join.left(Metadata.TABLE.as(METADATA_JOIN),

Loading…
Cancel
Save