From 2ec05ec7ed44e169ad9007a3e6daf645129912b8 Mon Sep 17 00:00:00 2001 From: Andrew Lindesay Date: Mon, 18 Nov 2024 22:22:29 +1300 Subject: [PATCH] HaikuDepot: Fix Search Term Resolves #19257 Change-Id: Ifaefc98f51a3a88f8770f1ffa9ff0416a454b418 Reviewed-on: https://review.haiku-os.org/c/haiku/+/8579 Reviewed-by: waddlesplash Haiku-Format: Haiku-format Bot Tested-by: Commit checker robot --- src/apps/haikudepot/packagemodel/PackageFilter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apps/haikudepot/packagemodel/PackageFilter.cpp b/src/apps/haikudepot/packagemodel/PackageFilter.cpp index 13c6a4b3d2..f112340266 100644 --- a/src/apps/haikudepot/packagemodel/PackageFilter.cpp +++ b/src/apps/haikudepot/packagemodel/PackageFilter.cpp @@ -223,8 +223,8 @@ private: return false; return _TextContains(localizedText->Title(), searchTerm) - && _TextContains(localizedText->Summary(), searchTerm) - && _TextContains(localizedText->Description(), searchTerm); + || _TextContains(localizedText->Summary(), searchTerm) + || _TextContains(localizedText->Description(), searchTerm); } private: