Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20907

Browse list of users: cannot search users with filter course role as student in a category when we assign roles at category level

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.9.5
    • Fix Version/s: 2.0.6, 2.1.3
    • Component/s: Administration
    • Labels:
      None
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE, MOODLE_21_STABLE

      Description

      I have assigned students in a category which has some courses.I assigned using Assign roles link at category page.
      These students are shown in course particpants list with student role but not in course assign roles list.
      when i try to search the students through Administration->Browse list of users by adding filters as course role=student and selected the category (where i assigned students).the students assigned at category level are not shown in the search results.
      I think as these students are shown in course participants list with student role,the search query should show up these users also along with other course members.

      Resolution: I think the query in function get_sql_filter($data) in moodle/user/filters/courserole.php should be modified accordingly

        Gliffy Diagrams

          Attachments

            Activity

            phani81 Phani created issue -
            dougiamas Martin Dougiamas made changes -
            Field Original Value New Value
            Workflow jira [ 34197 ] MDL Workflow [ 45627 ]
            dougiamas Martin Dougiamas made changes -
            Workflow MDL Workflow [ 45627 ] MDL Full Workflow [ 73961 ]
            Hide
            salvetore Michael de Raadt added a comment -

            I'm not sure about 1.9, but this has been fixed in 2.x.

            Show
            salvetore Michael de Raadt added a comment - I'm not sure about 1.9, but this has been fixed in 2.x.
            salvetore Michael de Raadt made changes -
            Status Open [ 1 ] Closed [ 6 ]
            Fix Version/s 2.0.6 [ 11250 ]
            Fix Version/s 2.1.3 [ 11251 ]
            Resolution Fixed [ 1 ]

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  28/Nov/11