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

Ordering by country is not working

    Details

    • Affected Branches:
      MOODLE_22_STABLE

      Description

      When I browse the list of users and order it by country, nothing happens. (neither asc nor desc ordering)

      How to reproduce the bug:

      • Browse list of users by navigating through: Site administration -> Users -> Accounts -> Browse list of users
      • Order the list of users by country (more than once)

      I suppose, the bug is related to the similar bug (http://tracker.moodle.org/browse/MDL-875), where an error with ordering users by country names (not codes) has been fixed, but another bug has been created.

        Gliffy Diagrams

        1. patch_user.txt
          0.6 kB
          Michal Kormos
        2. user.php
          16 kB
          Michal Kormos

          Activity

          Hide
          michal.kormos Michal Kormos added a comment -

          I fixed the bug myself.

          Show
          michal.kormos Michal Kormos added a comment - I fixed the bug myself.
          Hide
          michal.kormos Michal Kormos added a comment -

          Patch for the file admin/user.php

          Show
          michal.kormos Michal Kormos added a comment - Patch for the file admin/user.php
          Hide
          salvetore Michael de Raadt added a comment -

          Thanks for spotting that and providing a solution.

          Show
          salvetore Michael de Raadt added a comment - Thanks for spotting that and providing a solution.
          Hide
          rajeshtaneja Rajesh Taneja added a comment -

          Hello. I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue.

          For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment

          If you have any information about this issue or a possible fix please post it here

          Show
          rajeshtaneja Rajesh Taneja added a comment - Hello. I will not be able to work on this issue in the immediate future. In order to create a truer sense of the state of this issue and to allow other developers to have chance to become involved, I am removing myself as the assignee of this issue. For more information, see http://docs.moodle.org/dev/Changes_to_issue_assignment If you have any information about this issue or a possible fix please post it here

            People

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

              Dates

              • Created:
                Updated: