XF 2.3 Entity - Double and sorting

stromb0li

Well-known member
What is the property type on an entity for a double? Right now I'm using SELF::FLOAT, but it feels wrong using entity type of float for a double.

Similarly, can you confirm if this is the proper way to sort / order by two columns?
->setDefaultOrder(['column1', 'column2'], 'ASC');

It seems to work, but I haven't found any documentation or examples that this is the way to do it.
 
Back
Top Bottom