Use predefined field lists

This commit is contained in:
Michael 2018-06-17 06:27:52 +00:00
commit 0280a46ab4
9 changed files with 54 additions and 40 deletions

View file

@ -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));