craft-cp-element-count icon indicating copy to clipboard operation
craft-cp-element-count copied to clipboard

Count only enabled entries

Open wfendler opened this issue 7 years ago • 2 comments

Is there a way to only count enabled entries?

Use case: We have a lot of in-progress blog posts or disabled job postings which skews the at-a-glance view this plugin provides.

wfendler avatar May 17 '18 06:05 wfendler

Currently I opted to show everything, since that's what shows up in the element list. But it's possible to show only enabled. How would you like it to work; should both the total number of entries, plus the number of enabled entries show at the same time, or should there just be a config setting where you could enable 'showOnlyEnabledElements' => true?

aelvan avatar May 18 '18 08:05 aelvan

Good question. I think showing both might clutter up that sidebar a bit so I like your idea of just making that a config setting.

If you did want to show both, something like this could possibly work?

screen shot 2018-05-18 at 7 53 18 pm screen shot 2018-05-18 at 7 51 29 pm

wfendler avatar May 19 '18 00:05 wfendler