]> Cypherpunks repositories - gostls13.git/commitdiff
misc/dashboard/codereview: make all active CL tables hold up to 50 CLs.
authorDavid Symonds <dsymonds@golang.org>
Mon, 30 Jul 2012 01:45:17 +0000 (11:45 +1000)
committerDavid Symonds <dsymonds@golang.org>
Mon, 30 Jul 2012 01:45:17 +0000 (11:45 +1000)
R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/6449060

misc/dashboard/codereview/dashboard/front.go

index 970ed3e1a04e1d780519583f607263726339293b..5c3a88b136ce91d93b26a287552301fbb6beb859 100644 (file)
@@ -55,7 +55,7 @@ func handleFront(w http.ResponseWriter, r *http.Request) {
 
        if data.UserIsReviewer {
                tableFetch(0, func(tbl *clTable) error {
-                       q := activeCLs.Filter("Reviewer =", currentPerson).Limit(10)
+                       q := activeCLs.Filter("Reviewer =", currentPerson).Limit(50)
                        tbl.Title = "CLs assigned to you for review"
                        tbl.Assignable = true
                        _, err := q.GetAll(c, &tbl.CLs)
@@ -64,7 +64,7 @@ func handleFront(w http.ResponseWriter, r *http.Request) {
        }
 
        tableFetch(1, func(tbl *clTable) error {
-               q := activeCLs.Filter("Author =", currentPerson).Limit(10)
+               q := activeCLs.Filter("Author =", currentPerson).Limit(50)
                tbl.Title = "CLs sent by you"
                tbl.Assignable = true
                _, err := q.GetAll(c, &tbl.CLs)