Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.
Go dockerfossgomarkdownmemomicroblognote-takingnotesopen-sourceown-your-datareactself-hostedsqlitetimeline
fix: args offset for postgres
Johnny40130350c578
diff --git a/store/db/postgres/memo_filter.go b/store/db/postgres/memo_filter.goindex b886960cc..1c9802cd4 100644--- a/store/db/postgres/memo_filter.go+++ b/store/db/postgres/memo_filter.go@@ -13,7 +13,7 @@ import (func (d *DB) ConvertExprToSQL(ctx *filter.ConvertContext, expr *exprv1.Expr) error {const dbType = filter.PostgreSQLTemplate- _, err := d.convertWithParameterIndex(ctx, expr, dbType, len(ctx.Args)+1)+ _, err := d.convertWithParameterIndex(ctx, expr, dbType, ctx.ArgsOffset+len(ctx.Args)+1)return err}