Browse Source

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

Romain Rigaux 9 years ago
parent
commit
8eaa533c8e

+ 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('');