From 77f9e87343e7b691227dd97b5a114460a55df7f2 Mon Sep 17 00:00:00 2001 From: lostystyg Date: Fri, 2 Sep 2022 16:41:06 +0400 Subject: [PATCH] Order outputs by number for activities and notifications --- src/pocketdb/repositories/web/WebRpcRepository.cpp | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/pocketdb/repositories/web/WebRpcRepository.cpp b/src/pocketdb/repositories/web/WebRpcRepository.cpp index 4fec351f6..ab4106205 100644 --- a/src/pocketdb/repositories/web/WebRpcRepository.cpp +++ b/src/pocketdb/repositories/web/WebRpcRepository.cpp @@ -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, @@ -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, @@ -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, @@ -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, @@ -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 @@ -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, @@ -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,