From a53474844c6d7ff4674171d090f852581209e110 Mon Sep 17 00:00:00 2001 From: Sam Bosley Date: Tue, 12 Feb 2013 15:47:47 -0800 Subject: [PATCH] Fixed the task attachment join in the task adapter --- astrid/src/com/todoroo/astrid/activity/TaskListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java b/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java index a2de4490a..343cf8f57 100644 --- a/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java +++ b/astrid/src/com/todoroo/astrid/activity/TaskListFragment.java @@ -981,7 +981,7 @@ public class TaskListFragment extends ListFragment implements OnScrollListener, tagsJoinCriterion).toString() //$NON-NLS-1$ + Join.left(User.TABLE.as(USER_IMAGE_JOIN), Task.USER_ID.eq(Field.field(USER_IMAGE_JOIN + "." + User.UUID.name))).toString() - + Join.left(TaskAttachment.TABLE.as(FILE_METADATA_JOIN), Task.UUID.eq(Field.field(FILE_METADATA_JOIN) + "." + TaskAttachment.UUID.name)) + + Join.left(TaskAttachment.TABLE.as(FILE_METADATA_JOIN), Task.UUID.eq(Field.field(FILE_METADATA_JOIN) + "." + TaskAttachment.TASK_UUID.name)) + filter.getSqlQuery(); sqlQueryTemplate.set(SortHelper.adjustQueryForFlagsAndSort(