Fix main query joins

This commit is contained in:
Shinokuni 2019-06-23 17:19:20 +02:00
parent 9b6dd6713a
commit d35db1dd57
1 changed files with 2 additions and 2 deletions

View File

@ -12,8 +12,8 @@ public class ItemsListQueryBuilder {
"read_changed", "read_it_later", "Feed.name", "text_color", "background_color", "icon_url", "read_time",
"Feed.id as feedId", "Feed.account_id", "Folder.id as folder_id", "Folder.name as folder_name"};
private String SELECT_ALL_JOIN = "Item, Feed LEFT JOIN Folder on Folder.id = Feed.folder_id " +
"And Item.feed_id = Feed.id";
private String SELECT_ALL_JOIN = "Item INNER JOIN Feed on Item.feed_id = Feed.id " +
"LEFT JOIN Folder on Feed.folder_id = Folder.id";
private String ORDER_BY_ASC = "Item.id DESC";