From: Ciro Scognamiglio Date: Thu, 31 Jul 2014 10:55:54 +0000 (+0200) Subject: Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab X-Git-Tag: myslice-1.0~33 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=b120b048f0b1f069b13b36c884f5e2915ff15254;hp=ff2d326c9f0ef02fd70e3b0c312d6ec5c5af0ca4;p=unfold.git Merge branch 'onelab' of ssh://git.onelab.eu/git/myslice into onelab --- diff --git a/manifoldapi/static/js/manifold.js b/manifoldapi/static/js/manifold.js index 00e5562c..17677b95 100644 --- a/manifoldapi/static/js/manifold.js +++ b/manifoldapi/static/js/manifold.js @@ -344,12 +344,20 @@ function QueryStore() { default_set = (default_set === undefined) ? STATE_SET_OUT : default_set; var self = this; - var query_ext = this.find_analyzed_query_ext(query_uuid); - var record_key = manifold.metadata.get_key(query_ext.query.object); + var key, object, query_ext, record_key; + + query_ext = this.find_analyzed_query_ext(query_uuid); + object = query_ext.query.object; + if (object.indexOf(':') != -1) { + object = object.split(':')[1]; + } + record_key = manifold.metadata.get_key(object); + + // ["start_time", "resource", "end_time"] + // ["urn"] + $.each(records, function(i, record) { - var key = manifold.metadata.get_key(query_ext.query.object); - // ["start_time", "resource", "end_time"] - // ["urn"] + //var key = manifold.metadata.get_key(query_ext.query.object); var record_key_value = manifold.record_get_value(record, record_key); query_ext.records.put(record_key_value, record); @@ -1201,7 +1209,15 @@ var manifold = { make_record: function(object, record) { // To make an object a record, we just add the hash function - var key = manifold.metadata.get_key(object); + var key, new_object; + + if (object.indexOf(':') != -1) { + new_object = object.split(':')[1]; + } else { + new_object = object; + } + + key = manifold.metadata.get_key(new_object); record.hashCode = manifold.record_hashcode(key.sort()); record.equals = manifold.record_equals(key); diff --git a/portal/templates/onelab/onelab_contact.html b/portal/templates/onelab/onelab_contact.html index 21608da4..2a7c60af 100644 --- a/portal/templates/onelab/onelab_contact.html +++ b/portal/templates/onelab/onelab_contact.html @@ -17,7 +17,7 @@

Please check our FAQ section. Most of the basic problems are explained there.

If you haven't find your answes in the FAQ, please contact us by filling the form below.
- You can also e-mail us directly. + You can also e-mail us directly.