Draft entries included in category count

Found a bug? Tell us!!
Post Reply
chris_at
Regular
Posts: 9
Joined: Tue Oct 18, 2005 3:57 pm
Contact:

Draft entries included in category count

Post 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
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Draft entries included in category count

Post by garvinhicking »

That's right, thanks for catching this. I just committed the fix for that.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Badr
Posts: 4
Joined: Sun Oct 08, 2006 3:27 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Badr
Posts: 4
Joined: Sun Oct 08, 2006 3:27 pm

Post 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.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

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

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply