sulu / SuluArticleBundle

Bundle for managing localized content-rich entities like blog-posts in the Sulu content management system
MIT License
52 stars 77 forks source link

Fix PageTreeArticleDataProvider #607

Closed luca-rath closed 2 years ago

luca-rath commented 2 years ago
Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Fixed tickets -
Related issues/PRs #605
License MIT

What's in this PR?

This pr fixes a bug introduced in #605, because that pr broke smart contents with the homepage as datasource, because the homepage has / as resource segment and because of the additional / at the end of the prefix query value, the result was // and no article starts with //.

Additionally, this pr takes the value of the includeSubFolders filter into account, which was ignored until now.