]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Search/Filed.php
Merge pull request #10596 from annando/mark-file-star-for-all
[friendica.git] / src / Module / Search / Filed.php
index d62c3feb209ff9969465dd02f5c96392992ded0e..f5ec0d70f16be647f14d0eaaebb446462fb61344 100644 (file)
@@ -74,8 +74,8 @@ class Filed extends BaseSearch
                if (count($posts) == 0) {
                        return '';
                }
-               $item_condition = ['uid' => local_user(), 'uri-id' => $posts];
-               $item_params = ['order' => ['uri-id' => true]];
+               $item_condition = ['uid' => [0, local_user()], 'uri-id' => $posts];
+               $item_params = ['order' => ['uri-id' => true, 'uid' => true]];
 
                $items = Post::toArray(Post::selectForUser(local_user(), Item::DISPLAY_FIELDLIST, $item_condition, $item_params));