1
0
Fork 0
mirror of https://github.com/Nutomic/ibis.git synced 2024-11-22 08:11:08 +00:00

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

View file

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