From: Andrew Gerrand Date: Wed, 25 Apr 2012 20:01:08 +0000 (-0700) Subject: dashboard: sort user interface by internal counter, not date X-Git-Tag: go1.1rc2~3310 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=b6522c43d5349f4b460dcb78d9173eee14ef0938;p=gostls13.git dashboard: sort user interface by internal counter, not date R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6114053 --- diff --git a/misc/dashboard/app/build/ui.go b/misc/dashboard/app/build/ui.go index 0337aa3063..1a7b67de93 100644 --- a/misc/dashboard/app/build/ui.go +++ b/misc/dashboard/app/build/ui.go @@ -97,7 +97,7 @@ type Pagination struct { func goCommits(c appengine.Context, page int) ([]*Commit, error) { q := datastore.NewQuery("Commit"). Ancestor((&Package{}).Key(c)). - Order("-Time"). + Order("-Num"). Limit(commitsPerPage). Offset(page * commitsPerPage) var commits []*Commit