Skip to content

Commit ebc25ff

Browse files
authored
Update Toolbar.php
1 parent a1881aa commit ebc25ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Block/Post/PostList/Toolbar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function getCollection()
7171
*/
7272
public function getLimit()
7373
{
74-
return $this->_scopeConfig->getValue(
74+
return $this->getData('limit') ?: $this->_scopeConfig->getValue(
7575
'mfblog/post_list/posts_per_page',
7676
\Magento\Store\Model\ScopeInterface::SCOPE_STORE
7777
);

0 commit comments

Comments
 (0)