Currently if I want to view all results for a quiz, I've got to go to admin/quiz/reports/results and then click on a quiz. I can then see a listing of result ID's which I can view or delete.
What I want is to view a summary all results for a quiz (which is only using multiple choice questions) in a table. Let's say my quiz is "What is your favourite colour?" I'd like to view the sum of all results like:
red | blue | green
3 | 10 | 0
i.e. 3 users chose red as their favourite colour, 10 chose blue and none chose green. This is similar to what the poll module does: totals answers for a question.
Can quiz module integrate with views to achieve this? I haven't found a way to do this, but perhaps I missed it. If quiz + views can't do this, my next step is to write a sql query which can retrieve the results and then total them per answer for a particular quiz - would that be a good approach?
Comments
Comment #1
sdboyer commentedAdditional, per-question-type views integration would have to be written in order to do that kind of reporting. Not something I have time for in the forseeable future, unfortunately...but I'd certainly accept a patch, and could provide some hints as to how to do it, if there's interest in writing it.
Comment #2
burningdog commentedThanks sdboyer - I'm attempting a workaround with a different approach - if I come back using quiz I'll come back and ask for some hints for writing the views integration :)
Comment #3
djdevinThis issue is being closed because it was filed against a version that is no longer supported. If the issue still persists in the latest version of Quiz, please open a new issue.