Ett oväntat fel inträffade: Unknown column 'ratio' in 'order clause'
SQL: /*relaterat*/ SELECT /* index */ paper.url as purl, paper.id as pid, paper.shortname as pname, article.date as adate, article.link as alink, article.id as aid, article.title as atitle, article.description as adesc, paper.show_description as show_desc, article.date_unixtime AS date_unixtime, SUM(vote.weight) AS votes, COUNT(article.id) as artiklar_antal FROM article LEFT JOIN paper ON(paper.id = article.paperid) LEFT JOIN vote ON (vote.article = article.id) WHERE article.id IN (10036936,9815816,9844072,9822313,9815800,9815882,9821460,9885534,9892254,9861583,9863261,9802559,9818925,9822275,7194248,8355306,8514301,9739134,9756104,9816256,9869170,9901391,1870498,5825620,5851185) GROUP BY article.title ORDER BY ratio, adate DESC