gjbarnard / moodle-format_topcoll

Collapsed Topics course format for Moodle.
http://docs.moodle.org/en/Collapsed_Topics_course_format
GNU General Public License v3.0
35 stars 60 forks source link

Orphaned Section still appear in Index Drawer #146

Closed philipblake closed 3 weeks ago

philipblake commented 8 months ago

When a section is "orphaned", by reducing the number of sections available to less than the number that have content in on the course page, the orphaned section title still appears in the Index Drawer.

image

If content is in a later section (e.g. section 20) with no activities in the intervening sections, then all sections are still displayed in the index drawer.

image

Ideally, orphaned sections would not appear in the Index Drawer in non-editing mode.

Versions you are currently using (please complete the following information):

Funding Funding available.

gjb2048 commented 8 months ago

Dear @philipblake,

Appears to be a bug. Will work on a fix, initially in M4.3.

G