]> git.mxchange.org Git - friendica.git/commitdiff
Add comment to friendica_order query parameter in Mastodon Timeline Home
authorHank Grabowski <hankgrabowski@gmail.com>
Tue, 28 Feb 2023 16:35:54 +0000 (11:35 -0500)
committerHank Grabowski <hankgrabowski@gmail.com>
Tue, 28 Feb 2023 16:35:54 +0000 (11:35 -0500)
src/Module/Api/Mastodon/Timelines/Home.php

index 53ab3d629b5a8d27e2e557b507f9e119a1c3cb0b..6d0b7a33400f2f8a8353ed1d9afacaed252ba4fa 100644 (file)
@@ -54,11 +54,9 @@ class Home extends BaseApi
                        'only_media'      => false, // Show only statuses with media attached? Defaults to false.
                        'remote'          => false, // Show only remote statuses? Defaults to false.
                        'exclude_replies' => false, // Don't show comments
-                       'friendica_order' => TimelineOrderByTypes::ID,
+                       'friendica_order' => TimelineOrderByTypes::ID, // Sort order options (defaults to ID)
                ], $request);
 
-
-
                $condition = ['gravity' => [Item::GRAVITY_PARENT, Item::GRAVITY_COMMENT], 'uid' => $uid];
 
                $condition = $this->addPagingConditions($request, $condition);