瀏覽代碼

Ordered checks

Andrew Kane 8 年之前
父節點
當前提交
6c6ca76850
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controllers/blazer/queries_controller.rb

+ 1 - 1
app/controllers/blazer/queries_controller.rb

@@ -188,7 +188,7 @@ module Blazer
     end
 
     def render_run
-      @checks = @query ? @query.checks : []
+      @checks = @query ? @query.checks.order(:id) : []
 
       @first_row = @rows.first || []
       @column_types = []