fix topic order

This commit is contained in:
Thibault Duplessis 2013-05-29 14:13:43 +02:00
parent 10bd140232
commit 314f38799e
3 changed files with 6 additions and 2 deletions

View file

@ -62,7 +62,7 @@ private[forum] final class TopicApi(
def paginator(categ: Categ, page: Int, troll: Boolean): Fu[Paginator[TopicView]] = Paginator(
adapter = new Adapter[Topic](
selector = TopicRepo(troll) byCategQuery categ,
sort = Seq($sort.createdDesc)
sort = Seq($sort.updatedDesc)
) mapFuture { topic
$find.byId[Post](topic lastPostId troll) map { post
TopicView(categ, topic, post, env.postApi lastPageOf topic, troll)

View file

@ -27,7 +27,7 @@ private[lobby] final class Lobby(
socket ! msg
}
case msg @ CancelHook(uid) {
case CancelHook(uid) {
HookRepo byUid uid foreach remove
}

4
todo
View file

@ -72,6 +72,10 @@ if game ends during move -> bug
friends box only works well on homepage
Norb and other canot log in
search bug http://fr.lichess.org/forum/search?text=user:aybabtu
hooks do not always disappear
hook actor expiration (view forum thread)
no nb players in game
always same number of players (!)
DEPLOY p21
----------