Node: Webform submission count with views is not working. I had 3.4 and it worked fine, updated to 3.9 and now it doesnt show the total number of submission in the view. Before, I had a view setup showing the submission count for each node, not it just shows blank. I tried it with two websites, and the same thing.

Is this a bug?

Comments

Exploratus’s picture

As soon as I downgraded to 3.4 it started working again. I really need to be able to see how many submissions have been submitted to a specific node. I dont care about the fields, but at least the number of entries is the bare minimum. Would love to go to 3.9 cuz of additional features, but this kills some much needed functionality.

Any advice?

Exploratus’s picture

I tested it on a brand new install and it still did it. Does anybody have a clue why this is happening. Looks like a bug.

jarune’s picture

Component: User interface » Code
Status: Active » Needs review
Issue tags: +webform, +submission count
StatusFileSize
new1.15 KB

This patch fixes the submission count bug.
A variable was missing whereby the rendering could not take place.

ducktape’s picture

Status: Needs review » Reviewed & tested by the community

I have tested this. The bug was reproducable and is fixed by the patch in #3

quicksketch’s picture

Priority: Major » Normal
Status: Reviewed & tested by the community » Fixed
StatusFileSize
new1.12 KB

Thanks guys. This patch still needed a little work in that you should use $values->{$this->aliases['type']} instead of $values->node_type (in case there are multiple node tables in the view, this field may be named something else).

Committed this patch to both 3.x branches.

Status: Fixed » Closed (fixed)
Issue tags: -webform, -submission count

Automatically closed -- issue fixed for 2 weeks with no activity.