]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/all.php
try to fix updating in profile
[quix0rs-gnu-social.git] / actions / all.php
index 92ae385ca76df611b56aa7a9130e2bc4fb3dbdea..7cd1f5beba9a9146c23eb62f0986c42de0e87447 100644 (file)
@@ -38,7 +38,7 @@ class AllAction extends ShowstreamAction {
                
                $page = $this->arg('page') || 1;
                
-               $notice->limit((($page-1)*NOTICES_PER_PAGE) + 1, NOTICES_PER_PAGE);
+               $notice->limit((($page-1)*NOTICES_PER_PAGE), NOTICES_PER_PAGE);
                
                $notice->find();
                
@@ -48,6 +48,7 @@ class AllAction extends ShowstreamAction {
                        $this->show_notice($notice);
                }
                
+               # XXX: show a link for the next page
                common_element_end('div');
        }
 }