Merge pull request #2837 from poanetwork/ab-fix-txlist-performance-issue

fix txlist ordering issue
pull/2844/head
Victor Baranov 5 years ago committed by GitHub
commit 814a593baa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      CHANGELOG.md
  2. 2
      apps/explorer/lib/explorer/etherscan.ex

@ -7,6 +7,7 @@
- [#2822](https://github.com/poanetwork/blockscout/pull/2822) - Estimated address count on the main page, if cache is empty - [#2822](https://github.com/poanetwork/blockscout/pull/2822) - Estimated address count on the main page, if cache is empty
### Fixes ### Fixes
- [#2837](https://github.com/poanetwork/blockscout/pull/2837) - fix txlist ordering issue
- [#2830](https://github.com/poanetwork/blockscout/pull/2830) - Fix wrong color of contract icon on xDai chain - [#2830](https://github.com/poanetwork/blockscout/pull/2830) - Fix wrong color of contract icon on xDai chain
- [#2829](https://github.com/poanetwork/blockscout/pull/2829) - Fix for stuck gas limit label and value - [#2829](https://github.com/poanetwork/blockscout/pull/2829) - Fix for stuck gas limit label and value
- [#2828](https://github.com/poanetwork/blockscout/pull/2828) - Fix for script that clears compilation/launching assets - [#2828](https://github.com/poanetwork/blockscout/pull/2828) - Fix for script that clears compilation/launching assets

@ -272,7 +272,7 @@ defmodule Explorer.Etherscan do
from( from(
t in Transaction, t in Transaction,
inner_join: b in assoc(t, :block), inner_join: b in assoc(t, :block),
order_by: [{^options.order_by_direction, b.number}], order_by: [{^options.order_by_direction, t.block_number}],
limit: ^options.page_size, limit: ^options.page_size,
offset: ^offset(options), offset: ^offset(options),
select: select:

Loading…
Cancel
Save