fix(collections): build item URL from its own section path in root listing
The root listing shows items from every section, but the detail URL was built
from the current listing path, so a sectioned item shown at the collection root
got /collection/code.html without its section segment and 404'd. PublicItemDTO
now carries sectionId, and the listing resolves each item's section path
(getPathTo, memoized per page) to build /collection/section-path/code.html.
from the current listing path, so a sectioned item shown at the collection root
got /collection/code.html without its section segment and 404'd. PublicItemDTO
now carries sectionId, and the listing resolves each item's section path
(getPathTo, memoized per page) to build /collection/section-path/code.html.