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:
parent
491a0dc31e
commit
abd89bfdc4
1 changed files with 1 additions and 0 deletions
|
@ -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())?)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue