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

In the course/section.php, display the General section instead of displaying all the course sections

    XMLWordPrintable

Details

    • HQ 2023 Sprint I4.3 Moppies

    Description

      In MDL-79986 a new page, course/section.php, has been created, to display the content of a single section.

      The current implementation always displays all the sections when the General section is viewed (because for General, section_number=0 and the method core_courseformat\base:get_section_number() returns 0 for all sections, so there is no way to distinguish between the General section and all sections). This method should probably be nullable, to make it easier to differentiate this scenario or a new method, get_section_id, should be added to start using the sectioned instead of section number.

      Method deprecation

      This issue will involve deprecating several methods. The details can be found at the Course hierarchy deprecation plan documented here:

      https://docs.google.com/document/d/1o-QGQBfHEkkz4-yKDYO-m3EfFKGFImsRcX2VITtkjck/edit#heading=h.w9jj1js0zuft

       

      Attachments

        Issue Links

          Activity

            People

              sarjona Sara Arjona (@sarjona)
              sarjona Sara Arjona (@sarjona)
              Laurent David Laurent David
              Ferran Recio Ferran Recio
              Kim Jared Lucas Kim Jared Lucas
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 6 hours, 54 minutes
                  1w 6h 54m

                  Clockify

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