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
Joomla 3.3.6 / 2.5.28
PHP 5.5.9
Thanks for your help
Labels |
Added:
?
|
same problem also on Joomla 2.5.27, did you manage to find the solution?
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.
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
See #6158
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-02-24 12:30:39 |
Closed_By | ⇒ | brianteeman |
Closed_Date | 2015-02-24 12:30:39 | ⇒ | 2015-02-24 12:30:40 |
Have the exact same problem, did you manage to find the solution?