Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi everybody,
i have encountered a problem with my view for polls - there is no option to add the count of the votes. Is there no field for this information?
Greetings from Germany
lundj
Comments
Comment #1
dawehnerCurrently this is not possible because the table "poll_votes" has not integration.
The problem is that there is no field which basically return the count of votes. You would have to count them with sql.
Alternative something like og_statistics could be created for poll.
Alternative you could use advanced poll, it uses votingapi so it has such kind of aggregated tables.
Comment #2
iamjon CreditAttribution: iamjon commentedI'm moving this to Drupal's poll module. Maybe someone else can help