Moodle
  1. Moodle
  2. MDL-29521

Course role drop-down displays system roles in user search

    Details

    • Testing Instructions:
      Hide

      1) Go to the user search in the administration area.
      2) Click the advanced button to drop down additional filters
      3) Click the course role drop down.
      4) Click the system role drop down.

      (They should display the exact same system roles, not course)

      Show
      1) Go to the user search in the administration area. 2) Click the advanced button to drop down additional filters 3) Click the course role drop down. 4) Click the system role drop down. (They should display the exact same system roles, not course)
    • Difficulty:
      Easy
    • Affected Branches:
      MOODLE_20_STABLE
    • Rank:
      18998

      Description

      When searching for a user, the system role and course role drop-downs are exactly the same. This is because the course role drop-down box is searching at a system context level instead of a course context level.

        Issue Links

          Activity

          Show
          Jason Ilicic added a comment - Fix: https://github.com/jasonilicic/moodle/commit/d09fbea64ec305028a1e7a8aaae3629e14a555b4
          Hide
          Michael de Raadt added a comment -

          Thanks for spotting that and sharing a solution.

          Show
          Michael de Raadt added a comment - Thanks for spotting that and sharing a solution.
          Hide
          Rajesh Taneja added a comment - - edited

          Has been fixed as part of MDL-29244,
          Thanks for providing the fix Jason

          Show
          Rajesh Taneja added a comment - - edited Has been fixed as part of MDL-29244 , Thanks for providing the fix Jason

            People

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

              Dates

              • Created:
                Updated:
                Resolved: