?
avatar tiagovtg
tiagovtg
10 Oct 2013

protected function populateState($ordering = null, $direction = null)
{
...
...
line 58
$limit = $app->getUserStateFromRequest('com_content.archive.list' . $itemid . '.limit', 'limit', $params->get('display_num'), 'uint');

put this, to get global value if limit is null:
// Global limit list add.
$value = $app->input->get('limit', $app->getCfg('list_limit', 0), 'uint');
if (isset($limit) || $limit == null) {
$limit = $value;
}

$this->setState('list.limit', $limit);

If we have 10 articles no problem, but i have more then 2000 articles archiveds, and no list limit is slow to load the pages. Or use limit global when no have limit filter or create the option in module control.

Thx

avatar tiagovtg tiagovtg - open - 10 Oct 2013
avatar zero-24 zero-24 - close - 13 Oct 2013
avatar brianteeman
brianteeman - comment - 13 Oct 2013

Thanks for reporting this. At this time we are only using github as the place to submit code fixes so I am closing the report here. The actual reporting of issues and testing fixes is still taking place on Joomlacode.

As it has been some time since you opened this issue can you please confirm that it is still valid with the current Master or Joomla 3.2 beta.

If it is still valid please can you open an item on the Joomlacode tracker in the appropriate area.

CMS Bug Reports: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=8103

CMS Feature Requests: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemBrowse&tracker_id=8549

avatar brianteeman brianteeman - close - 13 Oct 2013
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?
Removed: ? ?
Build staging

Add a Comment

Login with GitHub to post a comment