I have a bunch of different node types using 1 field to reference a node type.

It could be nice if there's a way to split the count by node type, ie, this topic has 5 subtopics, 3 replies, and 10 addendum.

Thank you for the fantastic module!

Comments

gilgabar’s picture

Sounds like a good idea. Just to clarify a bit and make it explicit, it would be something like:

The content type 'topic' is having references to it counted. The content types 'subtopic', 'replies', and 'addendum' each share a nodereference field that references nodes of type 'topic'. Maybe it would be called something like 'field_topic_reference'. Currently when setting up a nodereference count field on 'topic' you can only select the single field 'field_topic_reference' which counts all the references from all three types. You would like to be able to create three separate nodereference count fields that would allow you to select the field 'field_topic_reference' plus specific content types that use it. Does that sound right?

Flying Drupalist’s picture

Yes precisely. Thank you so much!

caschbre’s picture

I would be interested in this as well.

xenophyle’s picture

This would be really useful.

kadimi’s picture

+1

This explains why I need this feature:
- I have the content type: Candidate which is referenced from Internal Interviews & External Interviews, I gave the node reference field the name field_candidate
- Now I need to know how many Internal Interviews & External Interviews a candidate have had, and I'm not interested in the sum of the two, which is what Nodereference Count currently offers.

I will be using the computed field module with a SQL query + rules but it seems that the feature requested by the OP is more adequate.

ayesh’s picture

Issue summary: View changes
StatusFileSize
new1.92 KB

I know this is an old feature request. I ran across the same problem and created a patch to restrict the list of nodes by their types.

This patch is for 7.x-1.0 (and not head, because it has some differences that I could not figure out well).

thanks for the nice module!

ayesh’s picture

Version: 6.x-1.x-dev » 7.x-1.x-dev

Changing the version to 7.x.

1kenthomas’s picture

Bump.