Commit 2ec909ce authored by Vincent Bechu's avatar Vincent Bechu

Revert "[erp5_officejs] Add parent_relative_url in erp5 storage query"

This reverts commit 1b087745
parent 0540112e
......@@ -10,8 +10,7 @@
return RSVP.all([
gadget.getSetting("portal_type", "Web Page"),
gadget.getSetting("erp5_attachment_synchro", ""),
gadget.getSetting("default_view_reference", 'jio_view'),
gadget.getSetting("parent_relative_url")
gadget.getSetting("default_view_reference", 'jio_view')
]);
})
.push(function (result) {
......@@ -38,20 +37,8 @@
}
query = Query.objectToSearchText(new ComplexQuery({
operator: 'AND',
query_list: [
new ComplexQuery({
operator: "OR",
query_list: jio_query_list,
type: "complex"
}),
new SimpleQuery({
key: "parent_relative_url",
operator: "",
type: "simple",
value: result[3]
})
],
operator: "OR",
query_list: jio_query_list,
type: "complex"
}));
......
......@@ -259,7 +259,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>P0</string> </value>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -273,7 +273,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>969.10498.32461.42154</string> </value>
<value> <string>967.13533.35763.57446</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -291,7 +291,7 @@
</tuple>
<state>
<tuple>
<float>1532611569.75</float>
<float>1525102062.15</float>
<string>UTC</string>
</tuple>
</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