From 977cffac4df09a49a0d61c19688cebf0c58eeb51 Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 28 Apr 2018 18:04:31 -0700 Subject: mariadb huh --- models/item/item.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models/item') 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 < ? " -- cgit v1.2.3