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

Event monitor: Rules are not sorted

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.8
    • Fix Version/s: 2.8
    • Component/s: Events API
    • Labels:
    • Testing Instructions:
      Hide
      1. Create few rules in site and course context, using different names.
      2. Go to rule manager page and make sure it's ordering rules by course ID descending and rule name ascending.
      3. Visit the subscription page and make sure the course dropdown is ordering by course visibility descending and course ordering ascending.
      4. Make sure your current subscriptions is ordering by: course ID ascending and rule name

      Test 2:
      Run behat with --tags @tool_monitor

      Show
      Create few rules in site and course context, using different names. Go to rule manager page and make sure it's ordering rules by course ID descending and rule name ascending . Visit the subscription page and make sure the course dropdown is ordering by course visibility descending and course ordering ascending . Make sure your current subscriptions is ordering by: course ID ascending and rule name Test 2: Run behat with --tags @tool_monitor
    • Affected Branches:
      MOODLE_28_STABLE
    • Fixed Branches:
      MOODLE_28_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-47869-master

      Description

      Can we have some understandable sort order of rules?

      I suggest: by context (first system, then course) and then by rule name (and then by id).

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lameze Simey Lameze
              Reporter:
              marina Marina Glancy
              Peer reviewer:
              Frédéric Massart
              Integrator:
              Marina Glancy
              Tester:
              John Okely
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                10/Nov/14