Commit 6e6b73b9 authored by Vincent Bechu's avatar Vincent Bechu

mappingstorage: bad hack for quick install

parent 352fcbe4
......@@ -55,7 +55,7 @@
this._query = spec.query || {};
this._map_id = spec.map_id;
this._id_mapped = (spec.map_id !== undefined) ? spec.map_id[1] : false;
this._no_query_sub_id = spec.no_query_sub_id || false;
if (this._query.query !== undefined) {
this._query.query = QueryFactory.create(this._query.query);
}
......@@ -90,6 +90,9 @@
return id;
}
if (storage._map_id[0] === "equalSubProperty") {
if (storage._no_query_sub_id) {
throw new jIO.util.jIOError("no query sub id activate", 404);
}
query = new SimpleQuery({
key: storage._map_id[1],
value: id,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment