Changing default slug causes get_site to return no pages. #9848
Labels
status:Needs Info
status:Unconfirmed
Issue, usually a bug, that has not yet been validated as a confirmed problem.
type:Bug
Issue Summary
When we change the slug for a page, the get_url_paths method (called by get_site) in the Page class returns no pages
Steps to Reproduce
wagtail start myproject
def get_collections():
res = None
site = self.get_site()
if site:
res = res.in_site(site)
return res
<div> {% page.get_collections %}</div>
I expected all results for get_site
Technical details
The text was updated successfully, but these errors were encountered: