HomePhabricator

[explorer] Fix table sorting issues

Description

[explorer] Fix table sorting issues

Summary:
Sorting by column values on the block and address page tables was not working properly for some columns.
The issue was if there was an added suffix like "XEC" or "kB" for example it was breaking the plugin's sorting.
I modified some of the columns rendering functions to use a data attribute instead for displaying the suffixes

Test Plan: run the app and see if sorting works better

Reviewers: #bitcoin_abc, Mengerian

Reviewed By: #bitcoin_abc, Mengerian

Subscribers: Mengerian

Differential Revision: https://reviews.bitcoinabc.org/D13083

Details

Provenance
johnkuneyAuthored on Feb 6 2023, 23:10
johnkuneyPushed on Feb 6 2023, 23:13
Reviewer
Restricted Project
Differential Revision
D13083: [explorer] Fix table sorting issues
Parents
rABC1938c579b1bc: [buildbot] Add links to bchn repo when porting code
Branches
Unknown
Tags
Unknown