Skip to content

Commit

Permalink
Order outputs by number for activities and notifications
Browse files Browse the repository at this point in the history
  • Loading branch information
lostystyg committed Sep 2, 2022
1 parent 8ef4a5b commit 77f9e87
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/pocketdb/repositories/web/WebRpcRepository.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4999,6 +4999,7 @@ namespace PocketDb
from TxOutputs o
where o.TxHash = c.Hash
and o.TxHeight = c.Height
order by o.Number
),
pc.String1,
c.String4,
Expand Down Expand Up @@ -5085,6 +5086,7 @@ namespace PocketDb
from TxOutputs o
where o.TxHash = c.Hash
and o.TxHeight = c.Height
order by o.Number
),
pc.String1,
c.String4,
Expand Down Expand Up @@ -5279,6 +5281,7 @@ namespace PocketDb
from TxOutputs o
where o.TxHash = c.Hash
and o.TxHeight = c.Height
order by o.Number
),
pc.String1,
c.String4,
Expand Down Expand Up @@ -5443,6 +5446,7 @@ namespace PocketDb
from TxOutputs o
where o.TxHash = tBoost.Hash
and o.TxHeight = tBoost.Height
order by o.Number
),
null,
null,
Expand Down Expand Up @@ -5688,6 +5692,7 @@ namespace PocketDb
from TxOutputs o
where o.TxHash = t.Hash
and o.TxHeight = t.Height
order by o.Number
)
from Transactions t indexed by Transactions_Height_Type
Expand Down Expand Up @@ -5867,7 +5872,7 @@ namespace PocketDb
from TxOutputs o
where o.TxHash = c.Hash
and o.TxHeight = c.Height
-- TODO (losty): order by o.Number?
order by o.Number
),
pc.String1,
null,
Expand Down Expand Up @@ -6207,6 +6212,7 @@ namespace PocketDb
from TxOutputs o
where o.TxHash = tBoost.Hash
and o.TxHeight = tBoost.Height
order by o.Number
),
null,
null,
Expand Down

0 comments on commit 77f9e87

Please sign in to comment.