mirror of https://github.com/readrops/Readrops.git
Fix main query joins
This commit is contained in:
parent
9b6dd6713a
commit
d35db1dd57
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in New Issue