Commit d22b6502 authored by Julien Muchembled's avatar Julien Muchembled

catalog: for sort_on parameter, recognize 'float' to CAST AS DECIMAL

parent 02ccc5ce
......@@ -2406,6 +2406,8 @@ class Catalog(Folder,
if len(item) > 2:
if item[2] == 'int':
item[2] = 'SIGNED'
elif item[2] == 'float':
item[2] = 'DECIMAL'
append(item)
elif order_by_expression is not None:
if not isinstance(order_by_expression, basestring):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment