This is similar to #738444: Node: Vote results > Number of votes empty.

votingapi is set to tally results whenever a vote is cast.

I can see the votes are added to the votingapi_vote table, but they never get to the votingapi_cache table.

I can see that votingapi_set_votes is called, and votingapi_recalculate_results. Seems to be no way that the mark votes could be included for treatment however?

Any thoughts greatly appreciated.

Comments

MichaelP’s picture

Status: Active » Fixed

OK. Nothing like leaving a thing alone or re-reading the readme to solve issues.

There is no need for the "marks" to get to the votingapi_cache table.

To view or filter marked nodes / users etc, as stated in the readme, the views relationship Node: Votes or User: Votes is used. (Aggregate vote results cannot be used as there is no calculation of aggregates being performed, logically!)

Great module!

peter törnstrand’s picture

Does this mean you can't display the totalt number of people who has "marked" a node?

I'm trying to implement a Facebook "Like" kind of feature displaying the total number of people who has "Liked" a node:

Like (5)

Status: Fixed » Closed (fixed)

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