Merge pull request #2250

84865cd History: allow to search for tx_note (selsta)
This commit is contained in:
luigi1111 2019-07-12 20:35:29 -05:00
commit 5b411b471e
No known key found for this signature in database
GPG key ID: F4ACA0183641E010

View file

@ -1387,6 +1387,8 @@ Rectangle {
txs.push(item);
} else if(item.blockheight.toString().startsWith(root.sortSearchString)) {
txs.push(item);
} else if(item.tx_note.toLowerCase().indexOf(root.sortSearchString.toLowerCase()) !== -1) {
txs.push(item);
} else if (item.hash.startsWith(root.sortSearchString)){
txs.push(item);
}