History: allow to search for tx_note

This commit is contained in:
selsta 2019-07-03 13:54:01 +02:00
parent c7956f76ea
commit 84865cdead
No known key found for this signature in database
GPG key ID: 2EA0A99A8B07AE5E

View file

@ -1387,6 +1387,8 @@ Rectangle {
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);
} else if(item.tx_note.toLowerCase().indexOf(root.sortSearchString.toLowerCase()) !== -1) {
txs.push(item);
} else if (item.hash.startsWith(root.sortSearchString)){ } else if (item.hash.startsWith(root.sortSearchString)){
txs.push(item); txs.push(item);
} }