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
var issues = Issues{}
for _, issue := range iss.Issues {
if issue.Resolution.Name == "open" &&
strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 {
if strings.Compare(d.minimumVersion, issue.TargetVersion.Name) < 0 {
issues = append(issues, issue)
}
}

View File

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