OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.23k stars 2.34k forks source link

Containers liquid filter #6620

Open arkadiuszwojcik opened 4 years ago

arkadiuszwojcik commented 4 years ago

Currently existing container liquid filter is very useful but it is limited to return just one, direct parent element for list item. However there are scenarious where we would like to return whole list of parents up to the root. In my particular case such list is required to render breadcrumbs (hierarchy of elements have few levels). I have created my own filter containers and now I wonder if this should be out of box Orchard Core filter?

jtkech commented 4 years ago

Looks like a good idea, feel free to open a new PR to suggest it