plone / Products.ExtendedPathIndex

Zope2 Index for paths. Supports depth limiting, and the ability to build a structure usable for navtrees and sitemaps
1 stars 1 forks source link

depth=0 and multi value paths results #7

Closed jensens closed 5 years ago

jensens commented 5 years ago

This is an edge case, but multi valued paths are in general supported. pone.app.multilingualindexes creates an pathindex based on the translation group ids, so any path depth may contain more than one element. if searching with a zero depth, this breaks b/c of an optimization here. This can be made configurable with a minor effort. I'll propose a PR for this. cc @thet

thet commented 5 years ago

Closed via: https://github.com/plone/Products.ExtendedPathIndex/pull/8