aboutsummaryrefslogtreecommitdiffstats
path: root/models/item
diff options
context:
space:
mode:
Diffstat (limited to 'models/item')
-rw-r--r--models/item/item.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/item/item.go b/models/item/item.go
index 795f38e..0e00c64 100644
--- a/models/item/item.go
+++ b/models/item/item.go
@@ -132,7 +132,7 @@ func Filter(max_id int64, feed_id int64, category string, unread_only bool, star
item.full_content, item.header_image,
feed.url, feed.title, feed.category
FROM item,feed
- WHERE item.feed_id=feed.id `
+ WHERE item.feed_id=feed.id AND item.id!=0 `
if max_id != 0 {
query = query + "AND item.id < ? "