aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Photos.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-07-14 12:43:34 +0000
committerMario <mario@mariovavti.com>2020-07-14 12:43:34 +0000
commit634a515ec15baff240a2e41603d576c1c5dc88c7 (patch)
tree1b41b9bb4c51e66fbc2dcc994111ab71efb2da74 /Zotlabs/Module/Photos.php
parent01abb82c37e3fe5b0505154a8bf5f3bc4c712f53 (diff)
downloadvolse-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 'Zotlabs/Module/Photos.php')
-rw-r--r--Zotlabs/Module/Photos.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Photos.php b/Zotlabs/Module/Photos.php
index fae8c17f6..649e753ad 100644
--- a/Zotlabs/Module/Photos.php
+++ b/Zotlabs/Module/Photos.php
@@ -708,7 +708,7 @@ class Photos extends \Zotlabs\Web\Controller {
]);
if($x = photos_album_exists($owner_uid, get_observer_hash(), $datum)) {
- \App::set_pager_itemspage(60);
+ \App::set_pager_itemspage(30);
$album = $x['display_path'];
}
else {
@@ -1289,7 +1289,7 @@ class Photos extends \Zotlabs\Web\Controller {
\App::$page['htmlhead'] .= "\r\n" . '<link rel="alternate" type="application/json+oembed" href="' . z_root() . '/oep?f=&url=' . urlencode(z_root() . '/' . \App::$cmd) . '" title="oembed" />' . "\r\n";
- \App::set_pager_itemspage(60);
+ \App::set_pager_itemspage(30);
$r = q("SELECT p.resource_id, p.id, p.filename, p.mimetype, p.album, p.imgscale, p.created, p.display_path
FROM photo p