1
mirror of https://github.com/monero-project/monero-gui synced 2024-12-26 01:23:44 +01:00

History: address filter case insensitive

This commit is contained in:
rating89us 2020-01-27 01:53:31 +01:00 committed by GitHub
parent 39aa6e76b1
commit 2c515ceb74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1382,7 +1382,7 @@ Rectangle {
if(root.sortSearchString.length >= 1){
if(item.amount && item.amount.toString().startsWith(root.sortSearchString)){
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);
} else if(item.blockheight.toString().startsWith(root.sortSearchString)) {
txs.push(item);