Manifold API: on_new_record receive the result values of Update Queries in the plugins
authorLoic Baron <loic.baron@lip6.fr>
Mon, 8 Dec 2014 13:23:55 +0000 (14:23 +0100)
committerLoic Baron <loic.baron@lip6.fr>
Mon, 8 Dec 2014 13:23:55 +0000 (14:23 +0100)
manifoldapi/static/js/manifold.js

index 95e5b0e..fe493cd 100644 (file)
@@ -1451,6 +1451,8 @@ case TYPE_LIST_OF_VALUES:
         var query_ext = manifold.query_store.find_query_ext(query.query_uuid);
         query_ext.query_state = QUERY_STATE_DONE;
 
+        var tmp_query = manifold.query_store.find_analyzed_query(query.query_uuid);
+        manifold.publish_result_rec(tmp_query, records);
 
         // Send DONE message to plugins
         query.iter_subqueries(function(sq, data, parent_query) {