We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1979169 commit 3563298Copy full SHA for 3563298
1 file changed
easyblog/easyblog/latest.php
@@ -41,8 +41,7 @@ public function get() {
41
} else {
42
43
$sorting = $this->plugin->params->get( 'sorting' , 'latest' );
44
- $total = (int) $this->plugin->params->get( 'total' , 20 );
45
- $rows = $model->getBlogsBy( $sorting , '' , $sorting , $total, EBLOG_FILTER_PUBLISHED, $search );
+ $rows = $model->getBlogsBy( $sorting , '' , $sorting , 0, EBLOG_FILTER_PUBLISHED, $search );
46
47
foreach ($rows as $k => $v) {
48
$item = EasyBlogHelper::getHelper( 'SimpleSchema' )->mapPost($v, '', 100, array('text'));
0 commit comments