forked from bitcoinafterlife/bal-welist-website
sort by balance then base_fee instead of points
This commit is contained in:
@@ -371,7 +371,7 @@ function getFiltered() {
|
||||
return allServers
|
||||
.filter(d => withTor ? true : !d.onion)
|
||||
.filter(d => (d.url + " " + (d.info||"")).toLowerCase().includes(q.toLowerCase()))
|
||||
.sort((a, b) => (b.points||0) - (a.points||0));
|
||||
.sort((a, b) => (b.balance||0) - (a.balance||0) || (b.base_fee||0) - (a.base_fee||0));
|
||||
}
|
||||
|
||||
function render() {
|
||||
|
||||
Reference in New Issue
Block a user