diff --git a/src/db.rs b/src/db.rs index baf404af2..0ff716f70 100644 --- a/src/db.rs +++ b/src/db.rs @@ -30,7 +30,9 @@ impl Handler for DbExecutor { use schema::threads::dsl::*; let conn = self.0.get()?; - let results = threads.load::(&conn)?; + let results = threads + .order(posted.desc()) + .load::(&conn)?; Ok(results) } }