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

Display course extended name in analytics sample description

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.4.6, 3.5.3, 3.6
    • Fix Version/s: 3.5.5, 3.6.3
    • Component/s: Analytics
    • Labels:
    • Testing Instructions:
      Hide
      1. Go to site admin > analytics > analytics settings. Disable 'onlycli' option
      2. Navigate to Site Administration -> Appearance -> Courses
      3. Set "Display extended course names" to Yes
      4. Create a couple of courses with a start date in 4 days and different names for the shortname and fullname fields
      5. Enable Analytics model target "No teaching"
      6. Run Get predictions
      7. View insights (Site administration -> Reports -> Insights)
      8. "Under Prediction: No teaching", the course fullnames display.
        The course title should read: "Shortname Fullname"
      Show
      Go to site admin > analytics > analytics settings. Disable 'onlycli' option Navigate to Site Administration -> Appearance -> Courses Set "Display extended course names" to Yes Create a couple of courses with a start date in 4 days and different names for the shortname and fullname fields Enable Analytics model target "No teaching" Run Get predictions View insights (Site administration -> Reports -> Insights) "Under Prediction: No teaching", the course fullnames display. The course title should read: "Shortname Fullname"
    • Affected Branches:
      MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE
    • Fixed Branches:
      MOODLE_35_STABLE, MOODLE_36_STABLE
    • Pull from Repository:
    • Pull 3.5 Branch:
    • Pull Master Branch:
      MDL-64391_master

      Description

      The sample_description function in \lib\classes\analytics\analyser\site_courses.php & \lib\classes\analytics\analyser\courses.php currently return the course fullname.

      If the site is using $CFG->courselistshortnames then the courseextendednamedisplay is output using get_course_display_name_for_list() for course search or listing courses in categories.

      This should also be true for displaying course names in Insight reports in the analytics.

      We have a lot of courses with the same titles, but different shortnames (for each year) and it's difficult to differentiate.

        Attachments

          Activity

            People

            Assignee:
            msharp Mark Sharp
            Reporter:
            sharpchi Mark Sharp
            Peer reviewer:
            Víctor Déniz Falcón
            Integrator:
            David Monllaó
            Tester:
            Anna Carissa Sadia
            Participants:
            Component watchers:
            Elizabeth Dalton, Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              11/Mar/19

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 20 minutes
                20m