Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-3819

Group Choice incorrectly displays groups as full

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • 2.3.1
    • Module: Choice group
    • None
    • MOODLE_23_STABLE

      Set 'Limit the number of responses allowed' to 'Disable' and leave the group 'Limit' set to 0

      All groups display as full and are disabled.

      Fix:
      renderer.php line 99
      replace:
      if (!empty($option->attributes->disabled) || sizeof($group_members) >= $option->maxanswers) {

      with:
      if (!empty($option->attributes->disabled) || ($limitanswers && sizeof($group_members) >= $option->maxanswers)) {

            monidu Nicolas Dunand
            amanda.doughty Amanda Doughty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.