Explorar el Código

:art: Simplify document block paths in search results https://github.com/siyuan-note/siyuan/issues/13364

Daniel hace 7 meses
padre
commit
a8f088cb5e
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      kernel/model/search.go

+ 3 - 1
kernel/model/search.go

@@ -1125,7 +1125,9 @@ func FullTextSearchBlock(query string, boxes, paths []string, types map[string]b
 		ret = []*Block{}
 	}
 
-	filterSelfHPath(ret)
+	if 0 == groupBy {
+		filterSelfHPath(ret)
+	}
 	return
 }