diff --git a/app/controllers/Relation.scala b/app/controllers/Relation.scala index 3fde71bfc7..820d172312 100644 --- a/app/controllers/Relation.scala +++ b/app/controllers/Relation.scala @@ -82,7 +82,7 @@ object Relation extends LilaController { private def RelatedPager(adapter: AdapterLike[String], page: Int)(implicit ctx: Context) = Paginator( adapter = adapter mapFutureList followship, currentPage = page, - maxPerPage = 20) + maxPerPage = 30) private def followship(userIds: Seq[String])(implicit ctx: Context): Fu[List[Related]] = UserRepo byIds userIds flatMap { users => diff --git a/modules/relation/src/main/RelationApi.scala b/modules/relation/src/main/RelationApi.scala index 2b3ea3fffb..2c2f00c0c3 100644 --- a/modules/relation/src/main/RelationApi.scala +++ b/modules/relation/src/main/RelationApi.scala @@ -70,7 +70,7 @@ final class RelationApi( def blockingPaginatorAdapter(userId: ID) = new BSONAdapter[Blocked]( collection = coll, - selector = BSONDocument("u1" -> userId, "r" -> Follow), + selector = BSONDocument("u1" -> userId, "r" -> Block), projection = BSONDocument("u2" -> true, "_id" -> false), sort = BSONDocument()).map(_.userId)