mirror of
https://github.com/atuinsh/atuin.git
synced 2024-11-24 17:23:50 +01:00
Update zsh_histdb SQL order by history.id
This commit is contained in:
parent
58c904996d
commit
c113b1d99d
@ -84,7 +84,7 @@ async fn hist_from_db_conn(pool: Pool<sqlx::Sqlite>) -> Result<Vec<HistDbEntry>>
|
||||
FROM history
|
||||
LEFT JOIN commands ON history.command_id = commands.id
|
||||
LEFT JOIN places ON history.place_id = places.id
|
||||
ORDER BY history.start_time
|
||||
ORDER BY history.id
|
||||
"#;
|
||||
let histdb_vec: Vec<HistDbEntry> = sqlx::query_as::<_, HistDbEntry>(query)
|
||||
.fetch_all(&pool)
|
||||
|
Loading…
Reference in New Issue
Block a user