alexmonteiro/Redmine-Monitoring-Controlling — pull request #15 by douglas (2012-05-14 04:39:36+00:00)
Title: Fixes postgresql inconsistencies

Hello !

This is just a fix for an unespected postgresql behaviour - if you do not put the quotes (" "), like in \"totalAssignedByStatuses\" - it will turn "totalAssignedByStatuses" to "totalassignedbystatuses".

This is a pain, because they actionrecord will not map then as virtual columns.

As i dont know if it will work out of the box in MySQL, i suggest you apply this on these queries and see if it will still work for you on you, if it works, fine - but if not, i suggest we keep these aliases as lowercase for compatibility.

Thanks for you work =)