Page 1 of 1

Draft entries included in category count

Posted: Mon Oct 31, 2005 5:30 pm
by chris_at
Minor detail: I noticed that when the "Show number of entries per category" option in the category plugin configuration is set to True, entries with a "Draft" status get counted as well.

Christian

Re: Draft entries included in category count

Posted: Mon Oct 31, 2005 7:14 pm
by garvinhicking
That's right, thanks for catching this. I just committed the fix for that.

Regards,
Garvin

Posted: Sat Feb 23, 2008 1:37 pm
by Badr
On a related note, in Serendipity 1.2.1 I noticed that when the "Show number of entries per author" option in the author plugin configuration is set to True, entries with a "Draft" status get counted as well. To be precise, this happens with a new author who has only one article saved as a draft. He shouldn't even be in the author list of this sidebar plugin.

Posted: Sun Feb 24, 2008 12:22 pm
by garvinhicking
Hi!

Thanks for reporting, just fixed this for the next release. :)

Regards,
Garvin

Posted: Sun Feb 24, 2008 3:19 pm
by Badr
Hi Garvin,

Another small thing is that when an article is published and unpublished after a while the comment/reactions sidebar keeps showing comments linked to the unpublished article. Perhaps it woud be a good idea to make the sidebar plugin check if the comment is related to an unpublished article.

Posted: Mon Feb 25, 2008 11:33 am
by garvinhicking
Hi!

Thanks for that as well, also fixed&committed :)

Regards,
Garvin