Merge pull request #2744

2c515ce History: address filter case insensitive (rating89us)
This commit is contained in:
luigi1111 2020-01-28 15:24:34 -05:00
commit 6dd759de33
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -1382,7 +1382,7 @@ Rectangle {
if(root.sortSearchString.length >= 1){ if(root.sortSearchString.length >= 1){
if(item.amount && item.amount.toString().startsWith(root.sortSearchString)){ if(item.amount && item.amount.toString().startsWith(root.sortSearchString)){
txs.push(item); txs.push(item);
} else if(item.address !== "" && item.address.startsWith(root.sortSearchString)){ } else if(item.address !== "" && item.address.toLowerCase().startsWith(root.sortSearchString.toLowerCase())){
txs.push(item); txs.push(item);
} else if(item.blockheight.toString().startsWith(root.sortSearchString)) { } else if(item.blockheight.toString().startsWith(root.sortSearchString)) {
txs.push(item); txs.push(item);