threefoldtecharchive / tfchain_portal

A frontend to interact with Tfchain
0 stars 2 forks source link

TC587 - Dedicated Nodes Table Sorting #85

Open dmitri-alleo opened 2 years ago

dmitri-alleo commented 2 years ago

There is a strange behavior when sorting the table, apart from the fact that all of the fields except ID are identical, it sorts the values in different order: for example, when sorting by ID

no sorting: 201 - 202 - 203 - 204 - 205 1st sort: 205 - 204 - 203 - 202 - 201 2nd sort: 201 - 203 - 202 - 204 - 205 3rd sort: goes back to the original sorting

if you click multiple times, the sequence repeats

When sorting by MRU there is even stranger behaviour, it keeps sorting multiple times and completely out of order, even though all MRUs appear the same

There are screenshots added when sorting A - Z and Z - A by status (reserved, unreserved) original 0) 201 - 202 - 203 - 204 - 205

When testing MRUs

original 0) 201 - 202 - 203 - 204 - 205

after keeps on changing the order and never goes back to original 1) 205 - 202 - 203 - 201 - 204 2) 204 - 201 - 202 - 203 - 205 3) 201 - 204 - 202 - 205 - 203 4) 205 - 202 - 203 - 201 - 204 5) 204 - 201 - 202 - 203 - 205

SRU HRU PRICE and ACTIONS, only places in this order 201 - 204 - 202 - 205 - 203

ramezsaeed commented 2 years ago

@dmitri-alleo I think u missed attaching screenshots !

dmitri-alleo commented 2 years ago

Yes, indeed

sort1