This is a bit of a weird bug; I'm not sure if I've configured ArchivistGrouper incorrectly or if there's just a simpler way to do this (maybe using standard getResources)
Currently I have an archives page which displays all the content published on a site, grouped together in month order.
For example (and
you can see the live archives here):
October 2013
- Article one
- Article two
September 2013
- Article three
- Article four
My ArchivistGrouper call looks like this:
[[!getCache?
&element=`ArchivistGrouper`
&elementClass=`modSnippet`
&cacheExpires=`604800`
&cacheKey=`archives`
&groupTpl=`archive.group`
&itemTpl=`archive.row`
&hideContainers=`0`
&where=`[{"context_key": "web"},{"hidemenu": 0}]`
&parents=`0,3220`
&limitGroups=`10`
]]
This is working fine; and as you can see I've set the limitGroups to 10, which means to only display 10 months of data. This should only display from October 2013 back to January 2013 (10 months),
however this is the weird bug, the output always displays just one item from the 11th month, in this case December 2012, and none of the other items from that month. Scroll down on
the live example and you'll see just one item for Dec 2012.
Has anybody seen this before or any idea why this could be happening?
If there is an easy way to display archives month-by-month please let me know!