Commit 1728550c authored by Boxiang Sun's avatar Boxiang Sun Committed by Tristan Cavelier

erp5_officejs_support_request_ui: Use one space to seperate the search criteria.

parent f7efa99f
......@@ -252,9 +252,9 @@
page: "search"
};
if (data.search) {
options.extended_search = '(' + data.search + ' AND portal_type: "Support Request")';
options.extended_search = '(' + data.search + ' AND portal_type: "Support Request")';
} else {
options.extended_search = '( portal_type: "Support Request")';
options.extended_search = '( portal_type: "Support Request")';
}
// Remove focus from the search field
document.activeElement.blur();
......
......@@ -230,7 +230,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>962.11273.61952.4147</string> </value>
<value> <string>962.11319.31770.36949</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1505738150.86</float>
<float>1505740406.52</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -49,6 +49,11 @@
<td>//div[@role='main']//input[@name='search']</td>
<td></td>
</tr>
<tr>
<td>assertValue</td>
<td>//div[@role='main']//input[@name='search']</td>
<td>( portal_type: "Support Request")</td>
</tr>
</tbody></table>
</body>
</html>
\ No newline at end of file
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