mirror of
https://github.com/friendica/friendica
synced 2025-04-27 11:50:11 +00:00
Get rid of the "item" table, enhanced "post" tables
This commit is contained in:
parent
c918e83aa2
commit
ce6ad1aa73
23 changed files with 736 additions and 235 deletions
|
@ -172,7 +172,7 @@ class Index extends BaseSearch
|
|||
|
||||
if (!empty($uriids)) {
|
||||
$params = ['order' => ['id' => true], 'group_by' => ['uri-id']];
|
||||
$items = Post::toArray(Post::selectForUser(local_user(), [], ['uri-id' => $uriids], $params));
|
||||
$items = Post::toArray(Post::selectForUser(local_user(), Item::DISPLAY_FIELDLIST, ['uri-id' => $uriids], $params));
|
||||
}
|
||||
|
||||
if (empty($items)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue