Sort latest updates ascending
This commit is contained in:
parent
33fd127cf6
commit
dc124ace20
1 changed files with 11 additions and 11 deletions
|
|
@ -145,7 +145,7 @@ impl Database {
|
|||
updated_date as "updated_date: chrono::DateTime<Utc>",
|
||||
is_deleted
|
||||
from latest_document_versions
|
||||
order by vault_update_id desc
|
||||
order by vault_update_id
|
||||
"#,
|
||||
);
|
||||
|
||||
|
|
@ -178,7 +178,7 @@ impl Database {
|
|||
is_deleted
|
||||
from latest_document_versions
|
||||
where vault_update_id > ?
|
||||
order by vault_update_id desc
|
||||
order by vault_update_id
|
||||
"#,
|
||||
vault_update_id
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue