-
-
Notifications
You must be signed in to change notification settings - Fork 171
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$site->findPageOrDraft() does not work for nested drafts #6339
Labels
type: bug 🐛
Is a bug; fixes a bug
Comments
tobimori
added a commit
to tobimori/kirby-seo
that referenced
this issue
Mar 16, 2024
Signed-off-by: Tobias Möritz <[email protected]>
5 tasks
5 tasks
therephil
added a commit
to visionbites/kirby-usage-reference
that referenced
this issue
Jul 8, 2024
those unfound items would then throw an error in the panel see getkirby/kirby#6339
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
page-1 -> listed
-> will fail
page-1 -> draft
-> will work
page-1 -> listed
-> will fail
Using
$site->findPageOrDraft("page-1/page-2/page-3")
Expected behavior
I expect the method to recursively find draft pages as well.
Your setup
Kirby Version 4.1.2
The text was updated successfully, but these errors were encountered: