mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-09 00:58:30 +02:00
Update to last common bleve (#3986)
This commit is contained in:
1 parent
1b7cd3d0b0
commit
917b9641ec
184 files changed
+39576
-121
No files matched your search
+5
@@ -481,5 +481,10 @@ func (sr *SearchResult) Merge(other *SearchResult) {
|
||||
if other.MaxScore > sr.MaxScore {
|
||||
sr.MaxScore = other.MaxScore
|
||||
}
|
||||
if sr.Facets == nil && len(other.Facets) != 0 {
|
||||
sr.Facets = other.Facets
|
||||
return
|
||||
}
|
||||
|
||||
sr.Facets.Merge(other.Facets)
|
||||
}
|
||||
Reference in new issue
Block a user