Closed (duplicate)
Project:
Archive
Version:
6.x-1.3
Component:
Block
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
24 Aug 2009 at 02:41 UTC
Updated:
20 Jun 2011 at 11:24 UTC
Hi, i have select blog entry for archive list but in block it was display the number all of nodes.
This is the block content :
---------------------------------------
* January, 2009 (4)
* February, 2009 (33)
* March, 2009 (8)
* April, 2009 (55)
* May, 2009 (38)
* June, 2009 (13)
* July, 2009 (46)
* August, 2009 (6)
---------------------------------------
Node blog is created from August, but in this block it started from January.
And the number of blog node is only 6 .
How to fix this ?
Thanks
Comments
Comment #1
cakka commentedAny ideas for this ?
Are this module is ready to used ?
Thanks
Comment #2
R.Muilwijk commentedIs this still necesarry? You can try the 'Archive: month list' block for this.
Comment #3
Vlad Stratulat commentedComment #4
Vlad Stratulat commented"Archive: month list" block display counter of all nodes under each month but not of types which i selected in "Archive" module configuration.
I found that problem is with archive_month_list function on line 212:
$node_query = db_query(db_rewrite_sql('SELECT n.created FROM {node} n WHERE n.status = 1 AND DATE(FROM_UNIXTIME(n.created)) BETWEEN DATE_SUB(CURDATE(), INTERVAL 6 MONTH) AND CURDATE() ORDER BY n.created DESC'));
As you can see from this query it return all nodes from your site.
I think that this is critical bug and should be fixed.
Comment #5
Vlad Stratulat commentedSorry, I miss already opened issue "Count incorrect"