Use predefined field lists
This commit is contained in:
parent
1aec8f620d
commit
0280a46ab4
9 changed files with 54 additions and 40 deletions
|
|
@ -455,7 +455,7 @@ function networkFlatView(App $a, $update = 0)
|
|||
}
|
||||
|
||||
$params = ['order' => ['id' => true], 'limit' => [$a->pager['start'], $a->pager['itemspage']]];
|
||||
$result = Item::select(local_user(), [], $condition, $params);
|
||||
$result = Item::select(local_user(), Item::DISPLAY_FIELDLIST, $condition, $params);
|
||||
$items = dba::inArray($result);
|
||||
|
||||
$condition = ['unseen' => true, 'uid' => local_user()];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue