X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=manifold%2Fjs%2Fmanifold-query.js;h=7578c0ae368addaab71f46d3455794587e4b7869;hb=258ce18e803cc727b8fe764e43399bc517d9dae1;hp=41ab86fce82da76087e690b218214856a1aa63a1;hpb=c3b77f0611b19e3fa57357a0c961d1f39573985d;p=unfold.git diff --git a/manifold/js/manifold-query.js b/manifold/js/manifold-query.js index 41ab86fc..7578c0ae 100644 --- a/manifold/js/manifold-query.js +++ b/manifold/js/manifold-query.js @@ -97,10 +97,11 @@ INSERT INTO subject VALUES(field=value) return {'added':added, 'removed':removed}; } - this.to_hash = function() { - return {'action': this.action, 'subject': this.subject, 'timestamp': this.timestamp, - 'filters': this.filters, 'params': this.params, 'fields': this.fields}; - } +// we send queries as a json string now +// this.as_POST = function() { +// return {'action': this.action, 'subject': this.subject, 'timestamp': this.timestamp, +// 'filters': this.filters, 'params': this.params, 'fields': this.fields}; +// } this.analyze_subqueries = function() { /* adapted from the PHP function in com_tophat/includes/query.php */ var q = new ManifoldQuery();