summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/keuin/blame/lookup/QueryExecutor.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/keuin/blame/lookup/QueryExecutor.java b/src/main/java/com/keuin/blame/lookup/QueryExecutor.java
index e11cdda..6e6bd5c 100644
--- a/src/main/java/com/keuin/blame/lookup/QueryExecutor.java
+++ b/src/main/java/com/keuin/blame/lookup/QueryExecutor.java
@@ -37,6 +37,7 @@ public class QueryExecutor {
if (timeRange > 0) {
sql += " and ts>=" + timeRange;
}
+ sql += " order by ts desc";
if (maxCount > 0) {
sql += " limit " + maxCount;
}