Skip to content

Include section 0 when displaying course contents#155

Open
Jayce0808 wants to merge 1 commit into
davosmith:masterfrom
Jayce0808:CONTRIB-9219
Open

Include section 0 when displaying course contents#155
Jayce0808 wants to merge 1 commit into
davosmith:masterfrom
Jayce0808:CONTRIB-9219

Conversation

@Jayce0808

Copy link
Copy Markdown

This plugin treats moduleid = 0 as a manual heading and has different rules. So section 0 is given an ID of -1 so it behaves as a course module item. This is fixing two bugs in one as the setting 'Show course modules in checklist' = 'Current section' would treat the heading incorrectly anyway.

This plugin treats moduleid = 0 as a manual heading and has different rules. So section 0 is given an ID of -1 so it behaves as a course module item. This is fixing two bugs in one as the setting 'Show course modules in checklist' = 'Current section' would treat the heading incorrectly anyway.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant