summaryrefslogtreecommitdiffstats
path: root/routers/repo
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-11 10:15:55 -0500
committerUnknwon <u@gogs.io>2016-03-11 10:15:55 -0500
commitcb1eadc2768ea5ffb2967eb4262e96730c3f9ba5 (patch)
tree9ee81ef7fb5901aefb5c28d8ae09e55bbf9121b5 /routers/repo
parent5267dce21023802818b0c0c16ba2ca47c146e1b5 (diff)
parent1314ba219ef8a655872df743434bffe959d3028f (diff)
downloadgitea-cb1eadc2768ea5ffb2967eb4262e96730c3f9ba5.tar.gz
gitea-cb1eadc2768ea5ffb2967eb4262e96730c3f9ba5.zip
Merge pull request #2810 from maxlazio/fix_updated_and_created
Update uses of updated and created
Diffstat (limited to 'routers/repo')
-rw-r--r--routers/repo/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go
index d4af0babc0..eb944acebc 100644
--- a/routers/repo/repo.go
+++ b/routers/repo/repo.go
@@ -34,7 +34,7 @@ func MustBeNotBare(ctx *middleware.Context) {
}
func checkContextUser(ctx *middleware.Context, uid int64) *models.User {
- orgs, err := models.GetOwnedOrgsByUserIDDesc(ctx.User.Id, "updated")
+ orgs, err := models.GetOwnedOrgsByUserIDDesc(ctx.User.Id, "updated_unix")
if err != nil {
ctx.Handle(500, "GetOwnedOrgsByUserIDDesc", err)
return nil