Use predefined field lists
This commit is contained in:
parent
1aec8f620d
commit
0280a46ab4
9 changed files with 54 additions and 40 deletions
|
@ -79,7 +79,7 @@ function notes_content(App $a, $update = false)
|
|||
dba::close($r);
|
||||
|
||||
$condition = ['uid' => local_user(), 'parent' => $parents_arr];
|
||||
$result = Item::select(local_user(), [], $condition);
|
||||
$result = Item::select(local_user(), Item::DISPLAY_FIELDLIST, $condition);
|
||||
if (DBM::is_result($result)) {
|
||||
$items = conv_sort(dba::inArray($result), 'commented');
|
||||
$o .= conversation($a, $items, 'notes', $update);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue