?
avatar zero-24
zero-24
30 Apr 2015

Steps to reproduce the issue

  • archive some articles
  • enable and publish the archive modul
  • at the frontend you will get something like this

screen shot 2015-04-11 at 14 52 52

  • The links look like: http://example.org/yyy/2009?view=archive&month=4 <- don't work. As it only use the month filter

Working would links like:
http://example.org/yyy/index.php?view=archive&month=4&year=2009

Expected result

Working links that produces a link that show something like:
http://example.org/yyy/index.php?view=archive&month=4&year=2009

Actual result

A Broken link that ignor the Year setting:
http://example.org/yyy/2009?view=archive&month=4

System information (as much as possible)

This is a know issue and e.g. described here: #5810 (comment)

avatar zero-24 zero-24 - open - 30 Apr 2015
avatar infograf768
infograf768 - comment - 1 May 2015

I can't reproduce the issue here as you can see on this screenshot (SEF off)

screen shot 2015-05-01 at 09 01 35

(SEF on )
screen shot 2015-05-01 at 09 06 00

avatar zero-24
zero-24 - comment - 1 May 2015

@infograf768 if you have SEF off please make sure that the Year and Month filter is set in the view. :smile:

For me it is not see:
year_filter_archive

It allways only apply the month filter ;)

avatar infograf768
infograf768 - comment - 1 May 2015

in your example above, the year is not stated, only the month. As both articles were published in October, they both show.

  1. To display the articles dates below the article title, I modified an archives menu item parameters to do such (but, if I do not have such a menu item, default would be global)
  2. Not using that menu item, I click on an archived article in the module url obtained is: http://localhost:8888/trunkgitnew/index.php?option=com_content&view=archive&year=2015&month=3&Itemid=256 => the result displays with the filter set to the article month and year, i.e here March 2015 screen shot 2015-05-01 at 11 32 43
  3. I then change the month in the filter to Month and switch the year to 2014 in my example. I click on the filter Button. I get this url:
    http://localhost:8888/trunkgitnew/index.php?option=com_content&view=archive&Itemid=256
    the correct article is displayed:
    screen shot 2015-05-01 at 11 38 01

  4. If I change the filter to Month and Year then click on the Filter button, I get the same url and it displays correctly both articles as both Month and Year are not specified:

screen shot 2015-05-01 at 11 41 01

The date used for filtering is the 'Published Date`.

No bug here. Works fine.

avatar zero-24
zero-24 - comment - 1 May 2015

No bug here. Works fine.

Yes the filter generally work. But the SEF URLs that was created by the archive module is wrong. If i disable SEF all works ok :smile:

avatar infograf768
infograf768 - comment - 2 May 2015

All works OK when sef is on or off, but, when sef on, after Clicking on the Filter Button, if we have no menu item to Archives Articles, we may get an url of the type: http://localhost:8888/trunkgitnew/component/content/
No effect on display though.

avatar zero-24 zero-24 - change - 29 Jun 2015
Build staging master
avatar zero-24 zero-24 - change - 29 Jun 2015
Milestone Added:
avatar zero-24 zero-24 - change - 29 Jun 2015
Milestone Removed:
avatar zero-24 zero-24 - change - 29 Jun 2015
Build master staging
avatar zero-24 zero-24 - assigned - 29 Jun 15
avatar zero-24 zero-24 - unassigned - 29 Jun 15
avatar zero-24 zero-24 - change - 29 Jun 2015
Build staging master
avatar zero-24 zero-24 - change - 29 Jun 2015
Labels Added: ?
Build master staging
avatar zero-24 zero-24 - change - 29 Jun 2015
Labels Removed: ?
avatar zero-24 zero-24 - change - 29 Jun 2015
Labels Added: ?
avatar zero-24 zero-24 - change - 29 Jun 2015
Labels Removed: ?
avatar zero-24 zero-24 - change - 29 Jun 2015
Build staging master
avatar zero-24 zero-24 - change - 29 Jun 2015
Labels Added: ?
Build master staging
avatar zero-24 zero-24 - change - 29 Jun 2015
Build staging master
avatar zero-24 zero-24 - change - 29 Jun 2015
Labels Removed: ?
Build master staging
avatar wojsmol
wojsmol - comment - 29 Sep 2015

Confirm problem described by @zero-24 that the year filter is not set after clicking on a link generated by the archive module.

avatar zero-24 zero-24 - change - 17 Oct 2015
Status New Closed
Closed_Date 0000-00-00 00:00:00 2015-10-17 22:30:16
Closed_By zero-24
avatar zero-24 zero-24 - close - 17 Oct 2015

Add a Comment

Login with GitHub to post a comment