Blog counts in category list include non-published entries.

Description

I just created a new blog category on the Ortus since and placed 7 blogs in it, but only 2 of those are published so far. The count in the right hand side of the front end that shows all the categories shows "7" instead of "2".

When I click on the category name, the page that comes up correctly shows "2" posts.

Attachments

1

Gliffy Diagrams

Activity

Show:

Luis Majano March 11, 2017 at 6:08 PM

Yes, it needs the dates, can you add that?

Gavin Pickin March 11, 2017 at 2:59 PM

Thoughts?

Gavin Pickin December 16, 2016 at 10:03 PM

The theme uses a cb.quickCategories()
The renders using the category template from the theme.

Inside that category, the view uses category.getNumberOfEntries()
This has this query.

This is used in several places, looks to be referenced by mainly front end items.

should we just update this to take the publish dates into account?
Or should we add another set of formulas for admin vs front end?

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Priority

Sentry

Created December 16, 2016 at 7:29 PM
Updated June 8, 2017 at 8:56 PM
Resolved June 8, 2017 at 8:56 PM