Compare commits

..

No commits in common. "fcdfae85e3643ce76bfdf6114d960034a04f241a" and "5a37ffb1cfdbca104e3b47bd7e066b73efc14b2f" have entirely different histories.

2 changed files with 1 additions and 4 deletions

View File

@ -109,8 +109,7 @@ func (d *Data) update() {
// Filter issues with old target versions out // Filter issues with old target versions out
var issues = Issues{} var issues = Issues{}
for _, issue := range iss.Issues { for _, issue := range iss.Issues {
if issue.Resolution.Name == "open" && if strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 {
strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 {
issues = append(issues, issue) issues = append(issues, issue)
} }
} }

View File

@ -65,11 +65,9 @@ func main() {
}() }()
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
log.Println("got request for table")
data.printTemplate(w, "table.tmpl") data.printTemplate(w, "table.tmpl")
}) })
http.HandleFunc("/list", func(w http.ResponseWriter, r *http.Request) { http.HandleFunc("/list", func(w http.ResponseWriter, r *http.Request) {
log.Println("got request for list")
data.printTemplate(w, "list.tmpl") data.printTemplate(w, "list.tmpl")
}) })
http.HandleFunc("/json", func(w http.ResponseWriter, r *http.Request) { http.HandleFunc("/json", func(w http.ResponseWriter, r *http.Request) {