Need to sort edits by date (fixes #45)

This commit is contained in:
Felix Ableitner 2024-10-14 16:45:27 +02:00
parent 491a0dc31e
commit abd89bfdc4
1 changed files with 1 additions and 0 deletions

View File

@ -91,6 +91,7 @@ impl DbEdit {
Ok(edit::table
.inner_join(person::table)
.filter(edit::article_id.eq(article.id))
.order(edit::created)
.get_results(conn.deref_mut())?)
}
}