mirror of
https://github.com/friendica/friendica
synced 2024-11-10 02:22:55 +00:00
Update src/Module/Api/Friendica/Photoalbum/Show.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
This commit is contained in:
parent
7bb60776c6
commit
ae8f1a1c5b
1 changed files with 3 additions and 3 deletions
|
@ -68,9 +68,9 @@ class Show extends BaseApi
|
|||
}
|
||||
|
||||
$orderDescending = $request['latest_first'];
|
||||
$album = $request['album'];
|
||||
$condition = ["`uid` = ? AND `album` = ?", $uid, $album];
|
||||
$params = ['order' => ['id' => $orderDescending], 'group_by' => ['resource-id']];
|
||||
$album = $request['album'];
|
||||
$condition = ["`uid` = ? AND `album` = ?", $uid, $album];
|
||||
$params = ['order' => ['id' => $orderDescending], 'group_by' => ['resource-id']];
|
||||
|
||||
$limit = $request['limit'];
|
||||
if ($limit > 500) {
|
||||
|
|
Loading…
Reference in a new issue