Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add comment

ashilknbc64668390e3
diff --git a/lib/services/search_service.dart b/lib/services/search_service.dart
index 63de31d1ba..f1b2362c8e 100644
--- a/lib/services/search_service.dart
+++ b/lib/services/search_service.dart
@@ -291,6 +291,8 @@ class SearchService {
for (String subDescription in orderedSubDescription[0]!) {
if (file.caption!.contains(subDescription)) {
matchesSingleWordSubString = true;
+
+ //continue only after setting [matchesSingleWordSubString] to true
if (subDescription.isAllConnectWords) continue;
if (descriptionAndMatchingFiles.containsKey(subDescription)) {