-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
bugActual behavior does not match expected behaviorActual behavior does not match expected behaviorobjectsIssues related to object pages, data, and filters; commonly used in cataloguesIssues related to object pages, data, and filters; commonly used in cataloguesstatus:backlogIssue is a lower priority but needs to eventually be addressedIssue is a lower priority but needs to eventually be addressed
Description
Before proceeding, make sure there isn’t an existing issue for this bug.
- I have searched the existing issues and determined this is a new bug.
Expected Behavior
If I add toc: false to an entry page with an object, that page should not display in the table-of-contents layout, but should still display in the objects-page layout, as the sortable objects grid is not a TOC.
Actual Behavior
If an entry page with an object is marked as toc: false, the object is hidden from both the table-of-contents and the objects-page.
Steps to Reproduce
- Start a new project
- Add
toc: falsetocontent/catalogue/1.mdorcontent/catalogue/2.md - Run
quire preview - Navigate to http://localhost:8080/catalogue/ and note the missing catalogue object
Version Numbers
[test-objects]
quire-cli 1.0.0-rc.33
quire-11ty 1.0.0-rc.40
starter https://github.com/thegetty/quire-starter-default@2.10.0
[System]
quire-cli 1.0.0-rc.33
node v22.10.0
npm 10.9.0
os Darwin 22.6.0
Web Browser
No response
Relevant Terminal/Shell Output
Supporting Information
The issues stems from this logic in _includes/components/object-filters/objects-catalog.webc that equates the collection for the objects page with the collection for the table of contents page. They need to be separate.
const collection = this.collections.tableOfContentsHtml;This issue was originally posted in Jira on 12/Jul/24 by @geealbers as DEV-18050.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugActual behavior does not match expected behaviorActual behavior does not match expected behaviorobjectsIssues related to object pages, data, and filters; commonly used in cataloguesIssues related to object pages, data, and filters; commonly used in cataloguesstatus:backlogIssue is a lower priority but needs to eventually be addressedIssue is a lower priority but needs to eventually be addressed