mirror of
https://github.com/golang/go
synced 2024-11-24 21:00:09 -07:00
misc/dashboard/codereview: make all active CL tables hold up to 50 CLs.
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6449060
This commit is contained in:
parent
3fe5f3353f
commit
be629bf79e
@ -55,7 +55,7 @@ func handleFront(w http.ResponseWriter, r *http.Request) {
|
|||||||
|
|
||||||
if data.UserIsReviewer {
|
if data.UserIsReviewer {
|
||||||
tableFetch(0, func(tbl *clTable) error {
|
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.Title = "CLs assigned to you for review"
|
||||||
tbl.Assignable = true
|
tbl.Assignable = true
|
||||||
_, err := q.GetAll(c, &tbl.CLs)
|
_, err := q.GetAll(c, &tbl.CLs)
|
||||||
@ -64,7 +64,7 @@ func handleFront(w http.ResponseWriter, r *http.Request) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
tableFetch(1, func(tbl *clTable) error {
|
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.Title = "CLs sent by you"
|
||||||
tbl.Assignable = true
|
tbl.Assignable = true
|
||||||
_, err := q.GetAll(c, &tbl.CLs)
|
_, err := q.GetAll(c, &tbl.CLs)
|
||||||
|
Loading…
Reference in New Issue
Block a user