Commit 16d2ad60 authored by Tristan Cavelier's avatar Tristan Cavelier

erp5storage taskman default view changed

parent 288841b3
...@@ -182,7 +182,7 @@ ...@@ -182,7 +182,7 @@
"url": UriTemplate.parse(site_hal._links.traverse.href) "url": UriTemplate.parse(site_hal._links.traverse.href)
.expand({ .expand({
relative_url: param._id, relative_url: param._id,
view: "view" view: "taskmanrecord"
}), }),
"xhrFields": { "xhrFields": {
withCredentials: true withCredentials: true
...@@ -193,6 +193,7 @@ ...@@ -193,6 +193,7 @@
ERP5Storage.onView.taskmanager = {}; ERP5Storage.onView.taskmanager = {};
ERP5Storage.onView.taskmanager.get = function (param, options) { ERP5Storage.onView.taskmanager.get = function (param, options) {
options._view = "taskmanrecord";
return ERP5Storage.onView["default"].get.call(this, param, options). return ERP5Storage.onView["default"].get.call(this, param, options).
then(function (answer) { then(function (answer) {
answer.data = toJIOMetadata(answer.data); answer.data = toJIOMetadata(answer.data);
......
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