mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: add support for content search (#1728)
* Change MemoFind.ContentSearch to slice * Add support for content search * Change for go-simple sugguest --------- Co-authored-by: Athurg Feng <athurg@gooth.org>
This commit is contained in:
@@ -71,11 +71,10 @@ func (s *Server) registerTagRoutes(g *echo.Group) {
|
||||
if !ok {
|
||||
return echo.NewHTTPError(http.StatusBadRequest, "Missing user session")
|
||||
}
|
||||
contentSearch := "#"
|
||||
normalRowStatus := store.Normal
|
||||
memoFind := &store.FindMemoMessage{
|
||||
CreatorID: &userID,
|
||||
ContentSearch: &contentSearch,
|
||||
ContentSearch: []string{"#"},
|
||||
RowStatus: &normalRowStatus,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user