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

Creating an event resets the calendar course filter back to "All courses"

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.4
    • 3.4
    • Calendar
    • MOODLE_34_STABLE
    • MOODLE_34_STABLE
    • MDL-60422_master
    • Hide
      Prerequisite
      1. Create two courses.
      2. Enrol the administrator as a student in all of them.
      3. Add two calendar events, one for each course, and make them on the same day.
      Test 1
      1. Go to the dashboard and follow the link on the calendar block to view the month.
      2. Select a course from "Detailed month view for:" select box.
      3. Add a new event (It should be all set up using the current course).
      4. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents.
      Test 2
      1. Go to the dashboard and follow the link on the calendar block to view the month.
      2. Click on the link for the day (the number of the day in the month) that has both courses' events.
      3. Filter to one of the courses and confirm only its events are shown.
      4. Create an event and ensure it automatically selects the course you filtered by.
      5. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents.
      Test 3
      1. Go to your dashboard.
      2. Customise the page and add the 'Upcoming events' block.
      3. In the block click on the 'Go to calendar...' link.
      4. Filter to one of the courses and confirm only its events are shown.
      5. Create an event and ensure it automatically selects it as a course event for the selected course.
      6. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents.
      Show
      Prerequisite Create two courses. Enrol the administrator as a student in all of them. Add two calendar events, one for each course, and make them on the same day. Test 1 Go to the dashboard and follow the link on the calendar block to view the month. Select a course from "Detailed month view for:" select box. Add a new event (It should be all set up using the current course). Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents. Test 2 Go to the dashboard and follow the link on the calendar block to view the month. Click on the link for the day (the number of the day in the month) that has both courses' events. Filter to one of the courses and confirm only its events are shown. Create an event and ensure it automatically selects the course you filtered by. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents. Test 3 Go to your dashboard. Customise the page and add the 'Upcoming events' block. In the block click on the 'Go to calendar...' link. Filter to one of the courses and confirm only its events are shown. Create an event and ensure it automatically selects it as a course event for the selected course. Ensure the course selected in the filter has not changed once the page has 'reloaded' the contents.

    Description

      Steps to replicate:

      1. Have or create a couple of courses.
      2. Enrol the administrator as a student in all of them.
      3. Go to the dashboard and follow the link on the calendar block to view the month.
      4. Select a course from "Detailed month view for:"
      5. Add a new event (It should be all set up for a course event).
      6. The filter should still be applied to the events on the calendar, but the select box now shows as "All courses".

      Attachments

        Issue Links

          Activity

            People

              markn Mark Nelson
              abgreeve Adrian Greeve
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              David Monllaó David Monllaó
              Mihail Geshoski Mihail Geshoski
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                13/Nov/17