(refs #3)Add search form at the top of search result.

This commit is contained in:
takezoe
2013-07-17 18:32:59 +09:00
parent 7f0aff8c03
commit 05d7e33d86
2 changed files with 8 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ trait IndexControllerBase extends ControllerBase { self: RepositoryService
get("/:owner/:repository/search")(referrersOnly { repository =>
val query = params("q")
val target = params.getOrElse("type", "Code")
val target = params.getOrElse("type", "code")
target.toLowerCase match {
case "issue" => {