diff options
Diffstat (limited to 'pkg/app/handler/glsa/view.go')
-rw-r--r-- | pkg/app/handler/glsa/view.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/app/handler/glsa/view.go b/pkg/app/handler/glsa/view.go index d84273c..945af2d 100644 --- a/pkg/app/handler/glsa/view.go +++ b/pkg/app/handler/glsa/view.go @@ -26,7 +26,8 @@ func View(w http.ResponseWriter, r *http.Request) { err := user.CanAccess(connection.DB.Model(glsa). Relation("Bugs"). Relation("Creator"). - Relation("Comments").WherePK()). + Relation("Comments"). + Relation("Comments.User").WherePK()). Select() if err != nil { |