Parcourir la source

Fixed table sort for numeric types

Andrew Kane il y a 8 ans
Parent
commit
0fc2cfa5c6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/controllers/blazer/queries_controller.rb

+ 1 - 1
app/controllers/blazer/queries_controller.rb

@@ -191,7 +191,7 @@ module Blazer
             case @first_row[i]
             when Integer
               "int"
-            when Float
+            when Float, BigDecimal
               "float"
             else
               "string-ins"