Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
...
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Commits on May 28, 2012
@benlumley benlumley Fixed float/decimal filters - without this it tries to use false as t…
…he form element type, which causes an exception from the form component
07fa5cf
Commits on May 30, 2012
@rande rande Merge pull request #99 from benlumley/2.0
Fix for float filter
298cd12
Showing with 2 additions and 0 deletions.
  1. +2 −0 Guesser/FilterTypeGuesser.php
View
2 Guesser/FilterTypeGuesser.php
@@ -78,6 +78,8 @@ public function guessType($class, $property, ModelManagerInterface $modelManager
return new TypeGuess('doctrine_orm_date', $options, Guess::HIGH_CONFIDENCE);
case 'decimal':
case 'float':
+ $options['field_type'] = 'number';
+
return new TypeGuess('doctrine_orm_number', $options, Guess::MEDIUM_CONFIDENCE);
case 'integer':
case 'bigint':

No commit comments for this range

Something went wrong with that request. Please try again.