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

When returning from modedit.php to course/view.php, go to the appropriate section in more cases

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2
    • 2.0.3
    • Course
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      In a few places, when you get sent back from course/modedit.php to course/view.php, it adds "#section-".$cw->section to send you back to the appropriate part of the course page. There are a number of other places where it does not bother to do that.

      This patch adds the missing "#section-".$cw->section bits.

      Note that I chose to do a minimal patch, rather than changing everything to use moodle_url. Let me know if you would rather I did this differently.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Sam Hemelryk Sam Hemelryk
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                5/May/11