Skip to content

Commit

Permalink
fixup! index: Make user choose after login page
Browse files Browse the repository at this point in the history
  • Loading branch information
doortts committed Apr 28, 2017
1 parent 14079bb commit 9f91451
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/controllers/IssueApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ public static Result organizationIssues(@Nonnull String organizationName, @Nonnu

@AnonymousCheck(requiresLogin = true, displaysFlashMessage = true)
public static Result userIssuesPage() throws WriteException, IOException {
return controllers.IssueApp.userIssues("", "html", 1);
String pageNum = StringUtils.defaultIfBlank(request().getQueryString("pageNum"), "1");
return controllers.IssueApp.userIssues("", "html", Integer.parseInt(pageNum));
}

@AnonymousCheck(requiresLogin = true, displaysFlashMessage = true)
Expand Down

0 comments on commit 9f91451

Please sign in to comment.