all repos — honk @ a67ca621a77629311266e129be088d5eaec5b7b1

my fork of honk

include bonked posts in honker listing
Ted Unangst tedu@tedunangst.com
Fri, 16 Aug 2019 01:26:58 -0400
commit

a67ca621a77629311266e129be088d5eaec5b7b1

parent

f802a8ac0c010f82aa75802faab55b5cde9d3514

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M honk.gohonk.go

@@ -1609,7 +1609,7 @@ stmtPublicHonks = preparetodie(db, selecthonks+"where whofore = 2 and dt > ?"+limit)

stmtUserHonks = preparetodie(db, selecthonks+"where (whofore = 2 or whofore = ?) and username = ? and dt > ?"+limit) stmtHonksForUser = preparetodie(db, selecthonks+"where honks.userid = ? and dt > ? and honker in (select xid from honkers where userid = ? and flavor = 'sub' and combos not like '% - %')"+butnotthose+limit) stmtHonksForMe = preparetodie(db, selecthonks+"where honks.userid = ? and dt > ? and whofore = 1"+butnotthose+limit) - stmtHonksByHonker = preparetodie(db, selecthonks+"join honkers on honkers.xid = honks.honker where honks.userid = ? and honkers.name = ?"+butnotthose+limit) + stmtHonksByHonker = preparetodie(db, selecthonks+"join honkers on (honkers.xid = honks.honker or honkers.xid = honks.oonker) where honks.userid = ? and honkers.name = ?"+butnotthose+limit) stmtHonksByXonker = preparetodie(db, selecthonks+" where honks.userid = ? and (honker = ? or oonker = ?)"+butnotthose+limit) stmtHonksByCombo = preparetodie(db, selecthonks+"join honkers on honkers.xid = honks.honker where honks.userid = ? and honkers.combos like ?"+butnotthose+limit) stmtHonksByConvoy = preparetodie(db, selecthonks+"where (honks.userid = ? or (? = -1 and whofore = 2)) and convoy = ?"+limit)