diff options
author | Adam Mathes <adam@trenchant.org> | 2018-04-28 22:07:39 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2018-04-28 22:07:39 -0700 |
commit | b6273019472095121dc401c1485711c929b6033a (patch) | |
tree | 0c49e4c37f0b51f138ff5d3ad92a783b7ee36138 /models | |
parent | 0289c734708b085d5cc7610f77b54c456b030f5c (diff) | |
download | neko-b6273019472095121dc401c1485711c929b6033a.tar.gz neko-b6273019472095121dc401c1485711c929b6033a.tar.bz2 neko-b6273019472095121dc401c1485711c929b6033a.zip |
change to feed,item
Diffstat (limited to 'models')
-rw-r--r-- | models/item/item.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/item/item.go b/models/item/item.go index 0e00c64..8e14e02 100644 --- a/models/item/item.go +++ b/models/item/item.go @@ -131,7 +131,7 @@ func Filter(max_id int64, feed_id int64, category string, unread_only bool, star item.read_state, item.starred, item.publish_date, item.full_content, item.header_image, feed.url, feed.title, feed.category - FROM item,feed + FROM feed,item WHERE item.feed_id=feed.id AND item.id!=0 ` if max_id != 0 { |