Commit 176c1420 authored by Roque's avatar Roque

erp5_messenger: set person to post as author

parent 335cbd7f
...@@ -74,7 +74,8 @@ ...@@ -74,7 +74,8 @@
<list> <list>
<string>my_title</string> <string>my_title</string>
<string>my_text_content</string> <string>my_text_content</string>
<string>my_source_thread</string> <string>my_thread</string>
<string>my_source_title</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>id</string> </key> <key> <string>id</string> </key>
<value> <string>my_source_thread</string> </value> <value> <string>my_thread</string> </value>
</item> </item>
<item> <item>
<key> <string>message_values</string> </key> <key> <string>message_values</string> </key>
...@@ -546,7 +546,7 @@ ...@@ -546,7 +546,7 @@
</item> </item>
<item> <item>
<key> <string>title</string> </key> <key> <string>title</string> </key>
<value> <string>Folow up Thread</string> </value> <value> <string>Thread</string> </value>
</item> </item>
<item> <item>
<key> <string>truncate</string> </key> <key> <string>truncate</string> </key>
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
var gadget = this; var gadget = this;
return gadget.jio_allDocs({ return gadget.jio_allDocs({
"query": gadget.state.query, "query": gadget.state.query,
"select_list": ["text_content", "modification_date", "Base_getOwnerId"], "select_list": ["text_content", "modification_date", "source_title"],
"sort_on": [["modification_date", "ascending"]] "sort_on": [["modification_date", "ascending"]]
}) })
.push(function (results) { .push(function (results) {
...@@ -64,7 +64,7 @@ ...@@ -64,7 +64,7 @@
} }
var queue_list = [], i = 0; var queue_list = [], i = 0;
for (i = 0; i < post_list.length; i += 1) { for (i = 0; i < post_list.length; i += 1) {
post_list[i].user = post_list[i].value.Base_getOwnerId; post_list[i].user = post_list[i].value.source_title;
// TODO: attachments // TODO: attachments
post_list[i].attachment_link = null; post_list[i].attachment_link = null;
post_list[i].attachment_name = null; post_list[i].attachment_name = null;
......
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