]> git.mxchange.org Git - friendica.git/commitdiff
Refer to correct contact field in Core/Search
authorHypolite Petovan <hypolite@mrpetovan.com>
Sat, 20 May 2023 14:31:05 +0000 (10:31 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 20 May 2023 14:31:05 +0000 (10:31 -0400)
- Address https://github.com/friendica/friendica/issues/13025#issuecomment-1554498114

src/Core/Search.php

index 8b114a468c93fcb75f658e49086b4f930d094737..4b3bb1c7cfa893306b4248d277ae421813b87ed9 100644 (file)
@@ -87,7 +87,7 @@ class Search
                        $user_data['network'],
                        $contactDetails['cid'] ?? 0,
                        $user_data['id'],
-                       $user_data['tags']
+                       $user_data['keywords']
                );
 
                return new ResultList(1, 1, 1, [$result]);
@@ -286,4 +286,4 @@ class Search
                        return 'search?q=' . urlencode($search);
                }
        }
-}
\ No newline at end of file
+}