all repos — honk @ 6ed75c8d2b1e9cd4169cd2962fa9710e4789f869

my fork of honk

order by for saved
Ted Unangst tedu@tedunangst.com
Sun, 13 Oct 2019 18:01:00 -0400
commit

6ed75c8d2b1e9cd4169cd2962fa9710e4789f869

parent

9153f292ffea413fb626311c488b2e99b830b2f7

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

jump to
M database.godatabase.go

@@ -643,7 +643,7 @@ myhonkers := " and honker in (select xid from honkers where userid = ? and (flavor = 'sub' or flavor = 'peep' or flavor = 'presub') and combos not like '% - %')"

stmtHonksForUser = preparetodie(db, selecthonks+"where honks.userid = ? and dt > ?"+myhonkers+butnotthose+limit) stmtHonksForUserFirstClass = preparetodie(db, selecthonks+"where honks.userid = ? and dt > ? and (what <> 'tonk')"+myhonkers+butnotthose+limit) stmtHonksForMe = preparetodie(db, selecthonks+"where honks.userid = ? and dt > ? and whofore = 1"+butnotthose+limit) - stmtHonksISaved = preparetodie(db, selecthonks+"where honks.userid = ? and flags & 4") + stmtHonksISaved = preparetodie(db, selecthonks+"where honks.userid = ? and flags & 4 order by honks.honkid desc") 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)