Loading...
 
Skip to main content

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
(0)
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+
Demonstrate Bug (older Tiki versions)
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


Show PHP error messages