Skip to content

Commit

Permalink
Update grapple/types/structures.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zerolab authored Sep 20, 2024
1 parent 84404de commit faff094
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion grapple/types/structures.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,10 @@ def PaginatedQuerySet(of_type, type_class, **kwargs):
# Enable in_menu for Page models.
if enable_in_menu is True and "in_menu" not in kwargs:
kwargs["in_menu"] = graphene.Argument(
graphene.Boolean, description=_("Filter by in menu.")
graphene.Boolean, description=_(
"Filter pages by Page.show_in_menus property. That is, the "
"'show in menus' checkbox is checked in the page editor."
)
)

# Enable page for Django Paginator.
Expand Down

0 comments on commit faff094

Please sign in to comment.