diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/keuin/blame/lookup/QueryExecutor.java | 1 |
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; } |