Moodle
  1. Moodle
  2. MDL-32350

Ordering by country is not working

    Details

    • Affected Branches:
      MOODLE_22_STABLE
    • Rank:
      39173

      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.

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

        Activity

        Hide
        Michal Kormos added a comment -

        I fixed the bug myself.

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

        Patch for the file admin/user.php

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

        Thanks for spotting that and providing a solution.

        Show
        Michael de Raadt added a comment - Thanks for spotting that and providing a solution.
        Hide
        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
        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: