| |
---|
| | Issues filter (_.byPrimaryKey(owner, repository, issueId.toInt)) firstOption |
---|
| | else None |
---|
| | |
---|
| | def getComments(owner: String, repository: String, issueId: Int)(implicit s: Session) = |
---|
| | IssueComments filter (_.byIssue(owner, repository, issueId)) list |
---|
| | IssueComments filter (_.byIssue(owner, repository, issueId)) sortBy(_.commentId asc) list |
---|
| | |
---|
| | /** @return IssueComment and commentedUser and Issue */ |
---|
| | def getCommentsForApi(owner: String, repository: String, issueId: Int)(implicit s: Session): List[(IssueComment, Account, Issue)] = |
---|
| | IssueComments.filter(_.byIssue(owner, repository, issueId)) |
---|
| |
---|
| | |
|