Commit 13c55b02 authored by Boxiang Sun's avatar Boxiang Sun Committed by Tristan Cavelier

erp5_officejs_support_request_ui: Let the search bar only search the items...

erp5_officejs_support_request_ui: Let the search bar only search the items which type are 'Support Request'
parent 794b78a2
......@@ -252,7 +252,9 @@
page: "search"
};
if (data.search) {
options.extended_search = data.search;
options.extended_search = '(' + data.search + ' AND portal_type: "Support Request")';
} else {
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>960.10532.37433.4932</string> </value>
<value> <string>962.11273.61952.4147</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -248,7 +248,7 @@
</tuple>
<state>
<tuple>
<float>1497956198.88</float>
<float>1505738150.86</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