aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Feed.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-26 07:16:06 +0000
committerMario <mario@mariovavti.com>2020-07-26 07:16:06 +0000
commitfba64e9451dcc4831b83161ab77301db551f8c17 (patch)
treede76a2e22d424025ad02ee9e5d8749081e1784ad /Zotlabs/Module/Feed.php
parent9b5e270379bc2301f3edde2290525e3b546fa049 (diff)
downloadvolse-hubzilla-fba64e9451dcc4831b83161ab77301db551f8c17.tar.gz
volse-hubzilla-fba64e9451dcc4831b83161ab77301db551f8c17.tar.bz2
volse-hubzilla-fba64e9451dcc4831b83161ab77301db551f8c17.zip
improve profile detection and reduce feed result set
Diffstat (limited to 'Zotlabs/Module/Feed.php')
-rw-r--r--Zotlabs/Module/Feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Feed.php b/Zotlabs/Module/Feed.php
index 36869abbe..b5e7b28fa 100644
--- a/Zotlabs/Module/Feed.php
+++ b/Zotlabs/Module/Feed.php
@@ -17,7 +17,7 @@ class Feed extends \Zotlabs\Web\Controller {
$params['pages'] = ((x($_REQUEST,'pages')) ? intval($_REQUEST['pages']) : 0);
$params['top'] = ((x($_REQUEST,'top')) ? intval($_REQUEST['top']) : 0);
$params['start'] = ((x($_REQUEST,'start')) ? intval($_REQUEST['start']) : 0);
- $params['records'] = ((x($_REQUEST,'records')) ? intval($_REQUEST['records']) : 40);
+ $params['records'] = ((x($_REQUEST,'records')) ? intval($_REQUEST['records']) : 10);
$params['direction'] = ((x($_REQUEST,'direction')) ? dbesc($_REQUEST['direction']) : 'desc');
$params['cat'] = ((x($_REQUEST,'cat')) ? escape_tags($_REQUEST['cat']) : '');
$params['compat'] = ((x($_REQUEST,'compat')) ? intval($_REQUEST['compat']) : 0);