Skip to content
This repository has been archived by the owner on Sep 12, 2018. It is now read-only.

Commit

Permalink
Merge branch 'bugfix/pullrequest-search' of kjkmadness/yobi
Browse files Browse the repository at this point in the history
from pull request 674
  • Loading branch information
laziel committed Mar 6, 2014
2 parents 6842acb + fa676ed commit e7045b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/controllers/PullRequestApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ private static Result pullRequests(String userName, String projectName, Category
condition.setProject(project).setCategory(category);
Page<PullRequest> page = PullRequest.findPagingList(condition);
if (HttpUtil.isPJAXRequest(request())) {
response().setHeader("Cache-Control", "no-cache, no-store");
return ok(partial_search.render(project, page, condition, category.code));
} else {
return ok(list.render(project, page, condition, category.code));
Expand Down

0 comments on commit e7045b0

Please sign in to comment.