Skip to content

Commit

Permalink
Merge pull request #621 from stof/avoid_useless_prototype
Browse files Browse the repository at this point in the history
Avoid creating a useless prototype for the search ordering form
  • Loading branch information
Seldaek committed Dec 11, 2015
2 parents 3993674 + f3bc38b commit 15db149
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Packagist/WebBundle/Form/Type/SearchQueryType.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ public function buildForm(FormBuilderInterface $builder, array $options)
$builder->add('orderBys', 'collection', array(
'type' => new OrderByType(),
'allow_add' => true,
'allow_delete' => true
'allow_delete' => true,
'prototype' => false,
));
}

Expand Down

0 comments on commit 15db149

Please sign in to comment.