diff options
author | Adam Mathes <adam@trenchant.org> | 2018-04-28 18:04:31 -0700 |
---|---|---|
committer | Adam Mathes <adam@trenchant.org> | 2018-04-28 18:04:31 -0700 |
commit | 977cffac4df09a49a0d61c19688cebf0c58eeb51 (patch) | |
tree | 7cd40afdf65d364fb81e7ff83236b23dd965c2de | |
parent | 2b1a592c9ee9ef2dcf708f90fad048c397b43508 (diff) | |
download | neko-977cffac4df09a49a0d61c19688cebf0c58eeb51.tar.gz neko-977cffac4df09a49a0d61c19688cebf0c58eeb51.tar.bz2 neko-977cffac4df09a49a0d61c19688cebf0c58eeb51.zip |
mariadb huh
-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 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 < ? " |