back interdiff of round #1 and #0

appview: db: issues: add method for getting any issues a repo might have #474

merged
opened by ptr.pet targeting master from ptr.pet/core: repo-feed
files
appview
db
issues
REBASED
appview/db/issues.go

This patch was likely rebased, as context lines do not match.

NEW
appview/issues/issues.go
···
return
}
-
issues, err := db.GetIssues(rp.db, f.RepoAt(), isOpen, page)
if err != nil {
log.Println("failed to get issues", err)
rp.pages.Notice(w, "issues", "Failed to load issues. Try again later.")
···
return
}
+
issues, err := db.GetIssuesPaginated(rp.db, f.RepoAt(), isOpen, page)
if err != nil {
log.Println("failed to get issues", err)
rp.pages.Notice(w, "issues", "Failed to load issues. Try again later.")