Module months_links (blog or cms archive) can't display more than 12 months
- Status
- Closed
- Subject
- Module months_links (blog or cms archive) can't display more than 12 months
- Version
- 10.x
11.x
12.x
9.x - Category
- Community projects
- Dogfood on a *.tiki.org site
- Less than 30-minutes fix
- Feature
- Article
Blog
Modules - Resolution status
- New
- Submitted by
- Xavier de Pedro
- Volunteered to solve
- manivannans
- Lastmod by
- Xavier de Pedro
- Rating
- Description
Module months_links is expected to show links to the months in the last year where posts occurred, but also display a link to the previous years, so that the user can click to the previous year to list the months that hold posts, etc.
The user expected to be able to list all months where there were posts, from the previous years, but it only display posts from the last 12 months.
The rows param by default gets the value 10 (like month october, our current month by the time of this writing)
Increasing the value shows more links (from previous years). However, it seems that Value max="-1" (show all posts, with no max limit) doesn't fetch them all.- Solution
Cheap fix in r48312:
- make the default 120 rows (10 years) instead of just 12 rows (1 year) when max="-1", for instance.
- Importance
- 6
- Easy to solve?
- 9
- Priority
- 54
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4794
- Created
- Tuesday 08 October, 2013 10:54:19 UTC
by Xavier de Pedro - LastModif
- Saturday 02 November, 2013 12:29:48 UTC