mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:05:16 +02:00
New function to fetch item data especially for users
This commit is contained in:
parent
0280a46ab4
commit
6e10de9284
19 changed files with 133 additions and 77 deletions
|
@ -338,7 +338,7 @@ function profile_content(App $a, $update = 0)
|
|||
}
|
||||
|
||||
$condition = ['uid' => $a->profile['profile_uid'], 'parent' => $parents_arr];
|
||||
$result = Item::select($a->profile['profile_uid'], Item::DISPLAY_FIELDLIST, $condition);
|
||||
$result = Item::selectForUser($a->profile['profile_uid'], [], $condition);
|
||||
$items = conv_sort(dba::inArray($result), 'created');
|
||||
} else {
|
||||
$items = [];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue