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 (2732575,1989015,2743385,5481713,6214833,685359,863245,1088815,1738712,1896709,1928783,2010190,2059046,2072078,2364598,2372964,2876748,2912740,3408808,3570736,4312055,4404127,4724610,4922054,5136180) GROUP BY article.title ORDER BY ratio, adate DESC