浏览代码

HUE-4329 [editor] Multi query does not go past statement 1

Romain Rigaux 9 年之前
父节点
当前提交
8eaa533c8e
共有 1 个文件被更改,包括 5 次插入1 次删除
  1. 5 1
      desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

+ 5 - 1
desktop/libs/notebook/src/notebook/static/notebook/js/notebook.ko.js

@@ -158,7 +158,11 @@
       self.data.removeAll();
       self.images.removeAll();
       self.logs('');
-      self.handle({});
+      self.handle({ // Keep multiquery indexing
+          has_more_statements: self.handle()['has_more_statements'],
+          statement_id: self.handle()['statement_id'],
+          statement_count: self.handle()['statement_count']
+      });
       self.startTime(new Date());
       self.endTime(new Date());
       self.explanation('');