aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/io/trygvis/esper
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-01-06 23:57:14 +0100
committerTrygve Laugstøl <trygvis@inamo.no>2013-01-06 23:57:14 +0100
commit7a0db61a0d9ba8e1359f5d14392bc90e6a0872e0 (patch)
tree78f56c88024d8542a0bd567aefeb7c688c75ac77 /src/main/java/io/trygvis/esper
parenta310ffdce4cd6dcbb6ba8e4fb739412ea9abdca5 (diff)
downloadesper-testing-7a0db61a0d9ba8e1359f5d14392bc90e6a0872e0.tar.gz
esper-testing-7a0db61a0d9ba8e1359f5d14392bc90e6a0872e0.tar.bz2
esper-testing-7a0db61a0d9ba8e1359f5d14392bc90e6a0872e0.tar.xz
esper-testing-7a0db61a0d9ba8e1359f5d14392bc90e6a0872e0.zip
o Creating a recent badges view.
Diffstat (limited to 'src/main/java/io/trygvis/esper')
-rwxr-xr-xsrc/main/java/io/trygvis/esper/testing/core/db/PersonDao.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/trygvis/esper/testing/core/db/PersonDao.java b/src/main/java/io/trygvis/esper/testing/core/db/PersonDao.java
index ba3f628..4b22100 100755
--- a/src/main/java/io/trygvis/esper/testing/core/db/PersonDao.java
+++ b/src/main/java/io/trygvis/esper/testing/core/db/PersonDao.java
@@ -200,7 +200,7 @@ public class PersonDao {
sql += " AND level=?";
}
- sql += " ORDER BY created_date";
+ sql += " ORDER BY created_date DESC";
sql += " LIMIT ? OFFSET ?";
try (PreparedStatement s = c.prepareStatement(sql)) {