From 550295fbe490bc0d9679c5588d5fdf828927c284 Mon Sep 17 00:00:00 2001 From: Julien Wadel Date: Tue, 3 Dec 2024 19:01:42 +0100 Subject: [PATCH] Call history: Search into display name and address. --- Linphone/core/call-history/CallHistoryProxy.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Linphone/core/call-history/CallHistoryProxy.cpp b/Linphone/core/call-history/CallHistoryProxy.cpp index a180fd43..2712e4c7 100644 --- a/Linphone/core/call-history/CallHistoryProxy.cpp +++ b/Linphone/core/call-history/CallHistoryProxy.cpp @@ -59,8 +59,7 @@ bool CallHistoryProxy::SortFilterList::filterAcceptsRow(int sourceRow, const QMo QRegularExpression::CaseInsensitiveOption | QRegularExpression::UseUnicodePropertiesOption); auto callLog = getItemAtSource(sourceRow); - show = - callLog->mIsConference ? callLog->mDisplayName.contains(search) : callLog->mRemoteAddress.contains(search); + show = callLog->mDisplayName.contains(search) || callLog->mRemoteAddress.contains(search); } return show; }