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.
Not necessarily a feature request. I don't know how common this need is. For anyone who is interested, the attached patch implements hook_votingapi_results_alter and hook_votingapi_metadata_alter to add separate up and down vote totals to the votingapi_cache table. There's probably a better way to do this. If you know one, please share. Thanks!
Comment | File | Size | Author |
---|---|---|---|
#2 | vote_up_down-856946.patch | 2.23 KB | Soren Jones |
#1 | vote_up_down-856946.patch | 2.22 KB | Soren Jones |
Comments
Comment #1
Soren Jones CreditAttribution: Soren Jones commentedThe patch.
Comment #2
Soren Jones CreditAttribution: Soren Jones commentedCorrected some language inconsistencies.
Comment #3
Soren Jones CreditAttribution: Soren Jones commentedWas looking for views issues so didn't notice the other issues working on doing the same thing for other purposes. Marking as a duplicate.
#811694: New widget for splitting of votes in positives/negatives (5 voted up, 2 voted down) seems to be the most active issue.