From b6522c43d5349f4b460dcb78d9173eee14ef0938 Mon Sep 17 00:00:00 2001 From: Andrew Gerrand Date: Wed, 25 Apr 2012 13:01:08 -0700 Subject: [PATCH] dashboard: sort user interface by internal counter, not date R=golang-dev, rsc CC=golang-dev https://golang.org/cl/6114053 --- misc/dashboard/app/build/ui.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.48.1