Skip to content

Commit

Permalink
Merge pull request #202 from scalacenter/issue/195
Browse files Browse the repository at this point in the history
Fix #195: Paginate by default 20 items
  • Loading branch information
MasseGuillaume committed Jul 20, 2016
2 parents 2b95625 + 3fe82a3 commit b31012f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/main/scala/ch.epfl.scala.index.server/Api.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import scala.language.reflectiveCalls
class Api(github: Github)(implicit val ec: ExecutionContext) {
private def hideId(p: Project) = p.copy(_id = None)

val resultsPerPage: Int = 10
val resultsPerPage: Int = 20

val sortQuery = (sorting: Option[String]) =>
sorting match {
Expand Down

0 comments on commit b31012f

Please sign in to comment.