Skip to content

_showAtCourseLevel setting isn't displaying correctly #247

@joe-replin

Description

@joe-replin

Subject of the issue/enhancement/features

#212 introduced a few issues with content visibility in the drawer.

  • If a page is a descendant of a menu model, it and it's descendants will not display in the drawer. In the case of my testing, it is a grouped menu.
  • This additionally prevents any enabled articles, blocks & components from appearing in the drawer.

Your environment

  • FW v5.42.7
  • PLP v8.0.4

Steps to reproduce

  1. Attach to a build with grouped contentObjects.
  2. Enable _showAtCourseLevel.
  3. Optionally, toggle articles, blocks, and components to appear in the drawer.

Expected behaviour

With _showAtCourseLevel enabled, the drawer should behave exactly as it does when the setting is disabled, with the addition of other available pages appearing.

Actual behaviour

  • If a page is a descendant of a menu model (e.g., a grouped menu), neither the page nor its descendants appear in the drawer.
  • This also prevents any enabled articles, blocks, and components from being displayed in the drawer.

Additional context

The course-level item is visible, along with any contentObjects that are direct descendants of the course. However, deeper nested pages and content aren’t shown.

Screenshot

Image

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions