yiisoft/yii — pull request #860 by troch (2012-06-21 14:47:52+00:00)
Title: Passes criteria to CSort::getOrderBy() in CSort::applyOrder() for applying table aliases (Fixes issue #859)

See issue #859 for more details.

Note: this quick fix should not affect any other installations (I know for example mongodbsuite is directly calling CSort::getOrderBy() without parameter)