Commit 78935c32 authored by Boris Kocherov's avatar Boris Kocherov

erp5_officejs: using of "Base_downloadWithCors" instead of "?format=" during attachment downloading

parent 48a84fbf
...@@ -21,7 +21,8 @@ ...@@ -21,7 +21,8 @@
check_remote_creation: true, check_remote_creation: true,
check_remote_deletion: true, check_remote_deletion: true,
query: { query: {
query: 'portal_type:"' + portal_type + '" ' query: 'portal_type:"' + portal_type + '" ',
limit: [0, 30]
}, },
attachment_list: ["data"], attachment_list: ["data"],
local_sub_storage: { local_sub_storage: {
...@@ -41,7 +42,7 @@ ...@@ -41,7 +42,7 @@
"get": { "get": {
"uri_template": (new URI("hateoas")) "uri_template": (new URI("hateoas"))
.absoluteTo(erp5_url) .absoluteTo(erp5_url)
.toString() + "/{+id}?format=" .toString() + "/{+id}/Base_downloadWithCors"
} }
} }
}, },
......
...@@ -269,7 +269,7 @@ ...@@ -269,7 +269,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>955.59503.50809.11605</string> </value> <value> <string>956.5899.18377.36727</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -287,7 +287,7 @@ ...@@ -287,7 +287,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1481538235.2</float> <float>1482255975.26</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
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