mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-11-17 00:07:51 +00:00
history: enable search by recipient address
This commit is contained in:
parent
002c800ee8
commit
e098a3f15e
1 changed files with 3 additions and 0 deletions
|
@ -236,6 +236,9 @@ bool TransactionHistorySortFilterModel::filterAcceptsRow(int source_row, const Q
|
||||||
if (data.toString().contains(m_searchString))
|
if (data.toString().contains(m_searchString))
|
||||||
return true;
|
return true;
|
||||||
data = sourceModel()->data(index, TransactionHistoryModel::TransactionTimeRole);
|
data = sourceModel()->data(index, TransactionHistoryModel::TransactionTimeRole);
|
||||||
|
if (data.toString().contains(m_searchString))
|
||||||
|
return true;
|
||||||
|
data = sourceModel()->data(index, TransactionHistoryModel::TransactionDestinationsRole);
|
||||||
if (data.toString().contains(m_searchString))
|
if (data.toString().contains(m_searchString))
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue