From 536f78cacc03b3814624442ed576731fbe2fd4ac Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Mon, 1 Jun 2020 21:30:55 +0300 Subject: [PATCH] Remove orderinng by day in the query --- apps/explorer/lib/explorer/chain/address/coin_balance_daily.ex | 1 - 1 file changed, 1 deletion(-) diff --git a/apps/explorer/lib/explorer/chain/address/coin_balance_daily.ex b/apps/explorer/lib/explorer/chain/address/coin_balance_daily.ex index 4cc68b8970..ca90840771 100644 --- a/apps/explorer/lib/explorer/chain/address/coin_balance_daily.ex +++ b/apps/explorer/lib/explorer/chain/address/coin_balance_daily.ex @@ -53,7 +53,6 @@ defmodule Explorer.Chain.Address.CoinBalanceDaily do CoinBalanceDaily |> where([cbd], cbd.address_hash == ^address_hash) |> limit_time_interval(days_to_consider) - |> order_by([cbd], cbd.day) |> select([cbd], %{date: cbd.day, value: cbd.value}) end