Use predefined field lists
This commit is contained in:
parent
1aec8f620d
commit
0280a46ab4
9 changed files with 54 additions and 40 deletions
|
|
@ -1068,10 +1068,10 @@ class Contact extends BaseObject
|
|||
$author_id, ACTIVITY_POST, local_user()];
|
||||
$params = ['order' => ['created' => true],
|
||||
'limit' => [$a->pager['start'], $a->pager['itemspage']]];
|
||||
$r = Item::select(local_user(), [], $condition, $params);
|
||||
$r = Item::select(local_user(), Item::DISPLAY_FIELDLIST, $condition, $params);
|
||||
|
||||
$items = dba::inArray($r);
|
||||
|
||||
|
||||
$o = conversation($a, $items, 'contact-posts', false);
|
||||
|
||||
$o .= alt_pager($a, count($items));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue