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

Display the full names instead of the short names for the course dropdown filter in the calendar

XMLWordPrintable

    • MOODLE_401_STABLE
    • MOODLE_405_STABLE
    • MDL-81250-main
    • Hide
      1. Login as admin
      2. Create a course with the full course name and maximum name length.  For example: abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz
      3. Navigate to the Dashboard page
      4. VERIFY the course filter dropdown in the Calendar is using the course full name as the option.
      5. VERIFY that the created course name is truncated to 50 characters.
      6. Create a new event by clicking the New Event button.
      7. Click Show more...
      8. Choose "Course" as the Type of event.
      9. Expand the Course autocomplete field.
      10. VERIFY that the created course name is wrapped into multiple lines and does not break the layout.
      Show
      Login as admin Create a course with the full course name and maximum name length.  For example: abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz Navigate to the Dashboard page VERIFY the course filter dropdown in the Calendar is using the course full name as the option. VERIFY that the created course name is truncated to 50 characters. Create a new event by clicking the New Event button. Click Show more... Choose "Course" as the Type of event. Expand the Course autocomplete field. VERIFY that the created course name is wrapped into multiple lines and does not break the layout.

      When adding a course calendar event it's shown the full name in the dropdown list of courses. It's OK.

      But when viewing the calendar the dropdown list of courses, the shortname is shown. It's confusing for instructors.

      I've change line 291 from renderer.php inside calendar. I've changed shortname by fullname. Now it's seen as expected by instructors.

      I'll attach some screenshots and the patch I've applied to my current 4.1.9 version.


        1. (1) 10 Passed -- (Main)MDL-81250.png
          77 kB
          Kim Jared Lucas
        2. (1) 5 Passed -- (Main)MDL-81250.png
          62 kB
          Kim Jared Lucas
        3. add_event_button.mustache.patch
          0.5 kB
          Eduardo Domínguez
        4. bug_1.png
          208 kB
          Huong Nguyen
        5. bug_2.png
          297 kB
          Huong Nguyen
        6. combined.patch
          2 kB
          Eduardo Domínguez
        7. combined-1.patch
          2 kB
          Eduardo Domínguez
        8. faltanasignaturas.png
          128 kB
          Eduardo Domínguez
        9. image-2024-05-13-07-42-04-990.png
          26 kB
          Eduardo Domínguez
        10. image-2024-06-18-16-33-47-680.png
          92 kB
          Huong Nguyen
        11. MDL-81250_calendar_dashaboard_new.png
          17 kB
          Meirza
        12. MDL-81250_calendar_dashaboard.png
          15 kB
          Meirza
        13. MDL-81250_calendar_view_new.png
          43 kB
          Meirza
        14. MDL-81250_calendar_view.png
          32 kB
          Meirza
        15. nombrecorto.png
          68 kB
          Eduardo Domínguez
        16. padding.png
          185 kB
          Huong Nguyen
        17. renderer.patch
          0.6 kB
          Eduardo Domínguez
        18. renderer-1.patch
          1.0 kB
          Eduardo Domínguez
        19. view_selector.mustache.patch
          0.8 kB
          Eduardo Domínguez

            sollericos Eduardo Domínguez
            sollericos Eduardo Domínguez
            Meirza Meirza
            Huong Nguyen Huong Nguyen
            Kim Jared Lucas Kim Jared Lucas
            Votes:
            1 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 days, 2 hours, 31 minutes
                3d 2h 31m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.