Skip to content

Commit

Permalink
🎨 Simplify document block paths in search results #13364
Browse files Browse the repository at this point in the history
  • Loading branch information
88250 committed Dec 15, 2024
1 parent 7acf83a commit a8f088c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kernel/model/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit a8f088c

Please sign in to comment.