Update CollectionResource.php#2249
Conversation
We have over 15,000 collections in the main catalog. The problem with ancestors is that it shows the linear collections that are on the same level. This makes the breadcrumb 15,000+ collection names. Using CHILDREN only shows the children of the collection that you clicked into.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
WalkthroughThe internal logic of the Changes
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
✨ Finishing Touches
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@glennjacobs @alecritson I think this change is broken. Breadcrumbs should diplay ancestors not childs
this is the collection structure tree this PR supposed to fix issue with 15,000+ collections slowness, but I do not understand how is this solving that when the change here is about the nested levels of collection |




We have over 15,000 collections in the main catalog. The problem with ancestors is that it shows the linear collections that are on the same level. This makes the breadcrumb 15,000+ collection names. Using CHILDREN only shows the children of the collection that you clicked into. The page loads faster and the title bar with the breadcrumb is more readable.
Please describe your Pull Request as best as possible, explaining what it provides and why it is of value, referencing any related Issues.
Try to include the following in your Pull Request, where applicable...
Summary by CodeRabbit