mirror of
https://github.com/nelsbrock/disbahn.git
synced 2026-08-14 22:26:49 +02:00
fix ordering of previous titles list
This commit is contained in:
+1
-1
@@ -251,7 +251,7 @@ impl DisbahnClient {
|
||||
|
||||
let previous_posts = post_versions::dsl::post_versions
|
||||
.filter(post_versions::dsl::announcement_id.eq(item.guid))
|
||||
.order_by(post_versions::publish_date.desc())
|
||||
.order_by(post_versions::publish_date)
|
||||
.load::<PostVersion>(self.database.conn())
|
||||
.with_context(|| "Error loading previous posts from database")?;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user