diff --git a/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js b/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js index a16c196fcd8dab60f9cf539980601388e0493161..31dc16d3b59f2abdbc1c83452df01427b45a38d0 100644 --- a/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js +++ b/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js @@ -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(); diff --git a/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml b/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml index 55d8224a052c429bf708ce9a12630d1dbd918b90..a41b4381b099f2567b592f92ca01c62fad8abe8b 100644 --- a/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml +++ b/bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml @@ -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>