From 5d6ea2ee0971009738d20d96e2f35e8da8071f53 Mon Sep 17 00:00:00 2001 From: Shinokuni Date: Sun, 7 Jul 2019 15:39:29 +0200 Subject: [PATCH] Fix item activity main request --- app/src/main/java/com/readrops/app/database/dao/ItemDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/readrops/app/database/dao/ItemDao.java b/app/src/main/java/com/readrops/app/database/dao/ItemDao.java index f44f1d9f..6bb7ef74 100644 --- a/app/src/main/java/com/readrops/app/database/dao/ItemDao.java +++ b/app/src/main/java/com/readrops/app/database/dao/ItemDao.java @@ -58,7 +58,7 @@ public interface ItemDao { @Query("Select title, Item.description, content, link, pub_date, image_link, author, read, text_color, " + "background_color, read_time, Feed.name, Feed.id as feedId, siteUrl, Folder.id as folder_id, " + - "Folder.name as folder_name from Item, Feed Left Join Folder on Folder.id = Feed.folder_id And Item.feed_id = Feed.id Where Item.id = :id") + "Folder.name as folder_name from Item Inner Join Feed On Item.feed_id = Feed.id Left Join Folder on Folder.id = Feed.folder_id Where Item.id = :id") LiveData getItemById(int id); @Query("Select remoteId From Item Where read_changed = 1 And read = 1")