diff options
author | Mario <mario@mariovavti.com> | 2020-07-14 12:43:34 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-07-14 12:43:34 +0000 |
commit | 634a515ec15baff240a2e41603d576c1c5dc88c7 (patch) | |
tree | 1b41b9bb4c51e66fbc2dcc994111ab71efb2da74 /include/items.php | |
parent | 01abb82c37e3fe5b0505154a8bf5f3bc4c712f53 (diff) | |
download | volse-hubzilla-634a515ec15baff240a2e41603d576c1c5dc88c7.tar.gz volse-hubzilla-634a515ec15baff240a2e41603d576c1c5dc88c7.tar.bz2 volse-hubzilla-634a515ec15baff240a2e41603d576c1c5dc88c7.zip |
reduce result sets and work around a regression in justifiedGallery
Diffstat (limited to 'include/items.php')
-rwxr-xr-x | include/items.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/items.php b/include/items.php index 7df5e35fe..dc76af31b 100755 --- a/include/items.php +++ b/include/items.php @@ -4536,8 +4536,8 @@ function items_fetch($arr,$channel = null,$observer_hash = null,$client_mode = C // only setup pagination on initial page view $pager_sql = ''; } else { - $itemspage = (($channel) ? get_pconfig($uid,'system','itemspage') : 20); - App::set_pager_itemspage(((intval($itemspage)) ? $itemspage : 20)); + $itemspage = (($channel) ? get_pconfig($uid,'system','itemspage') : 10); + App::set_pager_itemspage(((intval($itemspage)) ? $itemspage : 10)); $pager_sql = sprintf(" LIMIT %d OFFSET %d ", intval(App::$pager['itemspage']), intval(App::$pager['start'])); } |