@With(AnonymousCheckAction.class)
@IsAllowed(value = Operation.READ)
public static Result reviewThreads(String ownerName, String projectName) {
Project project = Project.findByOwnerAndProjectName(ownerName, projectName);
ReviewSearchCondition searchCondition = Form.form(ReviewSearchCondition.class).bindFromRequest().get();
ExpressionList<CommentThread> el = searchCondition.asExpressionList(project);
Page<CommentThread> commentThreads = el.findPagingList(REVIEWS_PER_PAGE).getPage(searchCondition.pageNum - 1);
return ok(list.render(project, commentThreads, searchCondition));
}