repohead order

This commit is contained in:
Dmitry Zuikov 2024-04-17 09:15:57 +03:00
parent ec428b3d73
commit 4bf4c3a792
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ selectRepoHeadsFor what = do
SELECT t.head SELECT t.head
FROM lww l join tx t on l.reflog = t.reflog FROM lww l join tx t on l.reflog = t.reflog
WHERE l.hash = ? WHERE l.hash = ?
ORDER BY l.seq ASC ORDER BY t.seq ASC
|] |]
select @(Only (TaggedHashRef RepoHead)) q (Only $ Base58Field what) select @(Only (TaggedHashRef RepoHead)) q (Only $ Base58Field what)