summaryrefslogtreecommitdiff
path: root/lib/VNDB/Handler/Users.pm
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2010-01-11 09:55:01 +0100
committerYorhel <git@yorhel.nl>2010-01-11 09:55:01 +0100
commit947b849b6bb6e927abfb2617f1139abaea3f071e (patch)
treef873635bb6d37d2bc629b8a0f0013c3d6e38fa0a /lib/VNDB/Handler/Users.pm
parent322da93cc2e3dbba9fde39f9a42268f582c0d0fe (diff)
Fixed sorting bug on /u+/posts
Damn, so many bugs... This one was introduced in 9613533da2c58af3c64e3bd4ed7b92b22ffd442f
Diffstat (limited to 'lib/VNDB/Handler/Users.pm')
-rw-r--r--lib/VNDB/Handler/Users.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Users.pm b/lib/VNDB/Handler/Users.pm
index e9c97198..2cec8b52 100644
--- a/lib/VNDB/Handler/Users.pm
+++ b/lib/VNDB/Handler/Users.pm
@@ -364,7 +364,7 @@ sub posts {
{ name => 'p', required => 0, default => 1, template => 'int' }
);
- my($posts, $np) = $self->dbPostGet(uid => $uid, hide => 1, what => 'thread', page => $f->{p}, order => 'tp.date DESC');
+ my($posts, $np) = $self->dbPostGet(uid => $uid, hide => 1, what => 'thread', page => $f->{p}, sort => 'date', reverse => 1);
my $title = mt '_uposts_title', $u->{username};
$self->htmlHeader(title => $title, noindex => 1);