edx-solutions/edx-platform — pull request #281 by mattdrayer (2014-10-22 20:42:04+00:00)
Title: mattdrayer/api-time-series-fix: Use backticks instead of quotes

@martynjames -- took a bit of time to get to the bottom of things, but the issue with the time series data stemmed from a MySQL syntax issue -- changing one of the query clauses to use backticks instead of quotes resolved the issue. Apparently the quotes are valid for sqlite, which explains why the unit tests did not catch the problem. Not sure if you're able to repro on your end, but take a look and let me know either way -- we should at least be able to see how it looks in the QA environment once merged.

@ziafazal, FYI on the syntax change