소스 검색

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 = []