History: allow to search for tx_note

pull/2/head
selsta 5 years ago
parent c7956f76ea
commit 84865cdead
Signed by untrusted user: selsta
GPG Key ID: 2EA0A99A8B07AE5E

@ -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);
}