all repos — honk @ 92f3c8413c1b120c705532c774bf72419556a5cd

my fork of honk

oops, need one more param for queries now
Ted Unangst tedu@tedunangst.com
Sun, 28 Apr 2019 20:51:12 -0400
commit

92f3c8413c1b120c705532c774bf72419556a5cd

parent

31d9533914cb6762aaa9ea9feab14167a47a5682

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

jump to
M honk.gohonk.go

@@ -661,12 +661,12 @@ rows, err := stmtHonksForMe.Query(userid, dt.Format(dbtimeformat), userid)

return getsomehonks(rows, err) } func gethonksbyhonker(userid int64, honker string) []*Honk { - rows, err := stmtHonksByHonker.Query(userid, honker) + rows, err := stmtHonksByHonker.Query(userid, honker, userid) return getsomehonks(rows, err) } func gethonksbycombo(userid int64, combo string) []*Honk { combo = "% " + combo + " %" - rows, err := stmtHonksByCombo.Query(userid, combo) + rows, err := stmtHonksByCombo.Query(userid, combo, userid) return getsomehonks(rows, err) } func gethonksbyconvoy(userid int64, convoy string) []*Honk {