Moodle
  1. Moodle
  2. MDL-12550

When assigning a role if you search for users, potential users are off by the number of course members with that role

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.8.3, 1.9
    • Fix Version/s: 1.8.4, 1.9, 2.0
    • Component/s: Roles / Access
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE
    • Rank:
      29771

      Description

      When assigning a role if you search for users, potential users are off by the number of course members with that role. For example, in a course with 10 students, if you are assigning students and you search for a user and the search returns 2 users, then it will report "-8 potential" users while below it will show "search results (2)" which is correct..

        Activity

        Hide
        Yu Zhang added a comment -

        Hi Michael, is this assigning users in a course context, or in a mod/block context?

        Cheers,

        Yu

        Show
        Yu Zhang added a comment - Hi Michael, is this assigning users in a course context, or in a mod/block context? Cheers, Yu
        Hide
        Yu Zhang added a comment -

        Hi Michael, I figured out now, fixed in 1.8, 1.9 and HEAD. Thanks for the report.

        Show
        Yu Zhang added a comment - Hi Michael, I figured out now, fixed in 1.8, 1.9 and HEAD. Thanks for the report.
        Hide
        Michael Spall added a comment -

        Thank you for fixing this so fast. I will do the QA on this patch for 1.8 and 1.9 and report back this Friday, 12/14/2007

        Show
        Michael Spall added a comment - Thank you for fixing this so fast. I will do the QA on this patch for 1.8 and 1.9 and report back this Friday, 12/14/2007
        Hide
        Michael Spall added a comment -

        Verifying that 1.8 and 1.9 are fixed

        Show
        Michael Spall added a comment - Verifying that 1.8 and 1.9 are fixed

          People

          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: