?
Referenced as Pull Request for: # 6158
avatar appnweb
appnweb
16 Jan 2015

Hi,

On one of our customers website, we noticed a bug with the filter and pagination of archived articles.

As long as we do not use the filter except for the number of article, the pagination act normally. If we use the year or month filter, for exemple year 2013, and then click on page 2, the year / month filter does a reset and the archive is displayed the right number of article forward but loosing the year criteria.

We noticed that on a joomla 2.5.27 but as we are going to upgrade to joomla 3 soon, we decided to go for some testing on fresh installations of joomla 2.5.28 and joomla 3.3.6 with just the demo data and some articles for the purpose of the test.

Both show the same bug.

You can see exemples on the fresh installations we used for testing, filtering with year 2013 :

Joomla 3.3.6 http://test.anw-sandbox.ch/index.php/archive

Joomla 2.5.28 http://test25.anw-sandbox.ch/index.php/archive

System information (as much as possible)

Joomla 3.3.6 / 2.5.28
PHP 5.5.9

Additional comments

Thanks for your help

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar appnweb appnweb - open - 16 Jan 2015
avatar brianteeman brianteeman - change - 17 Jan 2015
Labels Added: ?
avatar tripledm
tripledm - comment - 3 Feb 2015

Have the exact same problem, did you manage to find the solution?

avatar tripledm
tripledm - comment - 3 Feb 2015

same problem also on Joomla 2.5.27, did you manage to find the solution?


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5764.
avatar appnweb
appnweb - comment - 19 Feb 2015

Sorry for the late answer.

No I did not find any real solution. It's possible to escape the problem by selecting display all by default and hide the pagination filter, then the year and month filter work correctly.

Still looking for a better solution of course but no other idea until now.

avatar albertodibiagio
albertodibiagio - comment - 19 Feb 2015

Hi,
i'm a beginner and i found the same problem with category list article, pagination and filter.
When try to navigate to second page in a list filtered by a 'list.filter' the filter's value was resetted.
I solved by setting the AdditionalUrlParam in the pagination object before calling pagination->getPagesLinks(); in this way in default_articles.php:
if ($this->state->get('list.filter') != "" )
$this->pagination->setAdditionalUrlParam("filter-search", $this->escape($this->state->get('list.filter')));
echo $this->pagination->getPagesLinks();

i hop this will help you.

TU

avatar brianteeman
brianteeman - comment - 24 Feb 2015

See #6158


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/5764.
avatar brianteeman brianteeman - change - 24 Feb 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-02-24 12:30:39
Closed_By brianteeman
avatar brianteeman brianteeman - change - 24 Feb 2015
Closed_Date 2015-02-24 12:30:39 2015-02-24 12:30:40
avatar brianteeman brianteeman - close - 24 Feb 2015

Add a Comment

Login with GitHub to post a comment