fix: remove is_page filter from cart page hydration
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 18s
Some checks failed
Build and Deploy / build-and-deploy (push) Failing after 18s
Posts used as containers aren't necessarily pages. Market and events apps don't filter on is_page either. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2
app.py
2
app.py
@@ -120,7 +120,7 @@ def create_app() -> "Quart":
|
|||||||
return
|
return
|
||||||
post = (
|
post = (
|
||||||
await g.s.execute(
|
await g.s.execute(
|
||||||
select(Post).where(Post.slug == slug, Post.is_page == True) # noqa: E712
|
select(Post).where(Post.slug == slug)
|
||||||
)
|
)
|
||||||
).scalar_one_or_none()
|
).scalar_one_or_none()
|
||||||
if not post:
|
if not post:
|
||||||
|
|||||||
Reference in New Issue
Block a user