Explorar el Código

Merge pull request #621 from stof/avoid_useless_prototype

Avoid creating a useless prototype for the search ordering form
Jordi Boggiano hace 9 años
padre
commit
15db1490b6
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/Packagist/WebBundle/Form/Type/SearchQueryType.php

+ 2 - 1
src/Packagist/WebBundle/Form/Type/SearchQueryType.php

@@ -27,7 +27,8 @@ class SearchQueryType extends AbstractType
         $builder->add('orderBys', 'collection', array(
             'type' => new OrderByType(),
             'allow_add' => true,
-            'allow_delete' => true
+            'allow_delete' => true,
+            'prototype' => false,
         ));
     }