瀏覽代碼

fix ordering

Daniel Sheffield 1 年之前
父節點
當前提交
1d55b07a35
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/rest/pyapi.py

+ 1 - 0
app/rest/pyapi.py

@@ -76,6 +76,7 @@ GROUP BY ROLLUP (g.name, c.name, p.name)
 """),
         SQL("""
 HAVING {having}
+ORDER BY "Product", "Category", "Group"
 """).format(having=having) if having else SQL('')
     ])