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.
It doesn't make sense to me that when the number of choices is restricted the ranking options still has options equivalent to the full list.
If you agree, it's a simple fix. Change line 86 of ranking module to:
$num_choices = ($node->maxchoices) ? $node->maxchoices : count($node->choice) - 1;
If you want I can roll a patch.
Comments
Comment #1
mandclu CreditAttribution: mandclu commentedNot sure what I was thinking when I named this.
Comment #2
travisjbennett CreditAttribution: travisjbennett commented(Follow)