mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-20 01:32:41 +02:00
update FullName method to show group id if it's non-zero
This commit is contained in:
+1
-1
@@ -365,7 +365,7 @@ func (repo *Repository) LoadAttributes(ctx context.Context) error {
|
||||
|
||||
// FullName returns the repository full name
|
||||
func (repo *Repository) FullName() string {
|
||||
return repo.OwnerName + "/" + repo.Name
|
||||
return repo.OwnerName + "/" + groupSegmentWithTrailingSlash(repo.GroupID) + repo.Name
|
||||
}
|
||||
|
||||
// HTMLURL returns the repository HTML URL
|
||||
|
||||
Reference in New Issue
Block a user