summaryrefslogtreecommitdiff
path: root/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/Controller/add.twig
diff options
context:
space:
mode:
Diffstat (limited to 'fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/Controller/add.twig')
-rw-r--r--fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/Controller/add.twig2
1 files changed, 1 insertions, 1 deletions
diff --git a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/Controller/add.twig b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/Controller/add.twig
index 1c67f5e..ec3f031 100644
--- a/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/Controller/add.twig
+++ b/fai_gestion/plugins/CustomTheme/src/Template/Bake/Element/Controller/add.twig
@@ -38,7 +38,7 @@
{%- for assoc in associations %}
{%- set otherName = Bake.getAssociatedTableAlias(modelObj, assoc) %}
{%- set otherPlural = otherName|variable %}
- ${{ otherPlural }} = $this->{{ currentModelName }}->{{ otherName }}->find('list', ['limit' => 200]);
+ ${{ otherPlural }} = $this->{{ currentModelName }}->{{ otherName }}->find('list');
{{- "\n" }}
{%- set compact = compact|merge(["'#{otherPlural}'"]) %}
{% endfor %}