mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-21 17:03:11 +02:00
update FullName method to show group id if it's non-zero
This commit is contained in:
1 parent
11ab4445a0
commit
7a8db72e63
51 files changed
+342
-342
No files matched your search
@@ -312,7 +312,7 @@ func convertResult(searchResult *elastic.SearchResult, kw string, pageSize int)
|
||||
// <em> and </em> tags? If elastic search has handled that?
|
||||
startIndex, endIndex = contentMatchIndexPos(c[0], "<em>", "</em>")
|
||||
if startIndex == -1 {
|
||||
panic(fmt.Sprintf("1===%s,,,%#v,,,%s", kw, hit.Highlight, c[0]))
|
||||
panic(fmt.Sprintf("1===%s,,%#v,,%s", kw, hit.Highlight, c[0]))
|
||||
}
|
||||
} else {
|
||||
panic(fmt.Sprintf("2===%#v", hit.Highlight))
|
||||
|
||||
Reference in new issue
Block a user