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

Calendar will not show events limited to a course (Moodle 2.1 and above)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.1.4, 2.2
    • Fix Version/s: None
    • Component/s: Calendar
    • Labels:
    • Environment:
      Linux - Cent OS
      Apache Server - 2.2.21
      MySql - 5.1.56
      PHP - 5.3.8
    • Database:
      MySQL
    • Testing Instructions:
      Hide

      The best way to test is to have a user in 2 courses (both courses must have specific events). Then try and sort the course calendars.

      Show
      The best way to test is to have a user in 2 courses (both courses must have specific events). Then try and sort the course calendars.
    • Workaround:
      Hide

      None at this time. I may try to remove the session key functions within the calendar.

      Show
      None at this time. I may try to remove the session key functions within the calendar.
    • Affected Branches:
      MOODLE_21_STABLE, MOODLE_22_STABLE

      Description

      When a user is enrolled in a course, that course can have specific events. In Moodle 1.9 a user could go to their calendar and sort their calendar via the course drop-down box; this would display events specific only to the course selected. In Moodle 2.1 and above the drop down box will display the user's courses but when a course is selected it remains on all events. I have examined the code and the render is picking up the course ID value but it is not re writing the URL. Please see my attached screen shots.

        Attachments

        1. html error..png
          html error..png
          43 kB
        2. screen 1.png
          screen 1.png
          79 kB
        3. screen 2.png
          screen 2.png
          21 kB
        4. screen 3.png
          screen 3.png
          150 kB

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              tglea27 Thomas Gleason
              Participants:
              Component watchers:
              Andrew Lyons, Dongsheng Cai, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: