id summary reporter owner description type status component version severity resolution keywords cc stage has_patch needs_docs needs_tests needs_better_patch easy ui_ux 24020 Use expressions in ORM internals Anssi Kääriäinen Anssi Kääriäinen We should use expressions instead of tuples of form (alias, column, field) when calculating the select, order_by and group by clauses of the ORM. The WHERE clause already uses lookups, and joins were made to use Join classes. This would finalize usage of expression like objects throughout the query compiling process. Cleanup/optimization closed Database layer (models, ORM) dev Normal fixed 1.8-alpha Ready for checkin 1 0 0 0 0 0