Skip to content

Commit

Permalink
Correct title and content filters
Browse files Browse the repository at this point in the history
  • Loading branch information
maximehuran committed Nov 21, 2022
1 parent 1b27dc3 commit 69179da
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/Resources/config/sylius/grid.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ sylius_grid:
name: doctrine/orm
options:
class: '%monsieurbiz_cms_page.model.page.class%'
repository:
method: createListQueryBuilder
arguments: ["%locale%"]
limits: [25, 50, 100, 200]
fields:
code:
Expand Down Expand Up @@ -38,9 +41,13 @@ sylius_grid:
title:
type: string
label: monsieurbiz_cms_page.ui.form.title
options:
fields: [translation.title]
enabled:
type: boolean
label: monsieurbiz_cms_page.ui.form.enabled
content:
type: boolean
type: string
label: monsieurbiz_cms_page.ui.form.content
options:
fields: [translation.content]

0 comments on commit 69179da

Please sign in to comment.