Uploaded image for project: 'Plugins'
  1. Plugins
  2. CONTRIB-7774

Books navigation omits the section-id from URL

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Minor Minor
    • None
    • 3.5.6
    • Course format: Topcoll
    • None
    • MOODLE_35_STABLE

      When loading a Book from a custom link, the section-id is not passed as a URL parameter.

       

      Steps to Recreate:

      1. Create a course with Topics Format and 3 or 4 sections.
      2. Add book activity to a section.
      3. Ensure that the book have at least two chapters.
      4. Create a URL activity in the general section.
        • Use the link to the section id as the link input for URL Activity.
        • E.g site/course/view.php?id=4&section=1
      5. Navigate back to the course and turn editing off.
      6. Click on the link to the section.
      7. Click on the book, we can see section id being passed as parameter.
      8. Navigate through book. The section id is omitted.

       

      If the section-id would have passed then the link for section in breadcrumb would lead to the section page as opposed to pointing the section tab in course page.

       

      ie. we get view.php?id=4#section-1 instead of view.php?id=4&section=1

        1. sections.png
          sections.png
          22 kB
        2. section_page.png
          section_page.png
          30 kB
        3. course-main.png
          course-main.png
          24 kB
        4. course_page.png
          course_page.png
          46 kB
        5. breadcrumb.png
          breadcrumb.png
          61 kB
        6. 3.png
          3.png
          8 kB
        7. 2.png
          2.png
          62 kB
        8. 1.png
          1.png
          69 kB

            gb2048 Gareth J Barnard
            gmrsagar Sagar Ghimire
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 15 minutes
                15m

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