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: case insensetive memo search for postgres (#3938)
Sriniwas2db67118fcf1
diff --git a/store/db/postgres/memo.go b/store/db/postgres/memo.goindex 57cbd61cf..6e28949f0 100644--- a/store/db/postgres/memo.go+++ b/store/db/postgres/memo.go@@ -66,7 +66,7 @@ func (d *DB) ListMemos(ctx context.Context, find *store.FindMemo) ([]*store.Memo}if v := find.ContentSearch; len(v) != 0 {for _, s := range v {- where, args = append(where, "memo.content LIKE "+placeholder(len(args)+1)), append(args, fmt.Sprintf("%%%s%%", s))+ where, args = append(where, "memo.content ILIKE "+placeholder(len(args)+1)), append(args, fmt.Sprintf("%%%s%%", s))}}if v := find.VisibilityList; len(v) != 0 {