HaikuDepot: Fix Search Term

Resolves #19257

Change-Id: Ifaefc98f51a3a88f8770f1ffa9ff0416a454b418
Reviewed-on: https://review.haiku-os.org/c/haiku/+/8579
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
This commit is contained in:
Andrew Lindesay 2024-11-18 22:22:29 +13:00 committed by waddlesplash
parent b08fdcde6f
commit 2ec05ec7ed

View File

@ -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: