I want to have my users vote on restaurants. I am using the modules Voting API, Fivestar and Views. The view I have created is showing the information I need however when individual votes have the same value the information is shown twice. The average voting is updated correctly. I have tried to only use the average voting and make it "clickable" for users which gives my the correct result but I find it "cleaner" to have the average and the individual separate.
Can anyone help me with this?
Thanks.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | overzicht.txt | 7.11 KB | LuzAr |
| #4 | Overzicht.JPG | 103.1 KB | LuzAr |
Comments
Comment #1
LuzAr commentedHmmm, anyone?
Comment #2
LuzAr commentedComment #3
eaton commentedYou'll need o be a bit more precise; I'm not sure what "when individual votes have the same value the information is shown twice" means. If you can include a screnshot of the problem in action or -- preferably -- an exported version of the view attached to this issue, I can look into it.
Comment #4
LuzAr commentedThanks for your response Eaton.
Re-reading my own message I see I made a mistake. When individual votes are NOT the same the information (Name, address etc.) is shown twice.
As you requested I have included a screenshot and a text file with the code.
Thanks for your help!
Comment #5
ntt commentedsubscribing
Comment #6
mssarath commentedsubscribing
Comment #7
mssarath commentedHi,
i solved my problem , in views relation , 'node: voting result' select aggregation function, in my case 'average' so it removed duplicate entry.
sarath
Comment #8
eaton commented