Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
preetwinder
erp5
Commits
1728550c
Commit
1728550c
authored
Sep 18, 2017
by
Boxiang Sun
Committed by
Tristan Cavelier
Sep 19, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_officejs_support_request_ui: Use one space to seperate the search criteria.
parent
f7efa99f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js
...ateItem/web_page_module/gadget_supportrequest_panel_js.js
+2
-2
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml
...teItem/web_page_module/gadget_supportrequest_panel_js.xml
+2
-2
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomepageSearch.zpt
.../officejs_support_request_ui_zuite/testHomepageSearch.zpt
+5
-0
No files found.
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.js
View file @
1728550c
...
@@ -252,9 +252,9 @@
...
@@ -252,9 +252,9 @@
page
:
"
search
"
page
:
"
search
"
};
};
if
(
data
.
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
{
}
else
{
options
.
extended_search
=
'
( portal_type:
"Support Request")
'
;
options
.
extended_search
=
'
( portal_type: "Support Request")
'
;
}
}
// Remove focus from the search field
// Remove focus from the search field
document
.
activeElement
.
blur
();
document
.
activeElement
.
blur
();
...
...
bt5/erp5_officejs_support_request_ui/PathTemplateItem/web_page_module/gadget_supportrequest_panel_js.xml
View file @
1728550c
...
@@ -230,7 +230,7 @@
...
@@ -230,7 +230,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
962.11
273.61952.4147
</string>
</value>
<value>
<string>
962.11
319.31770.36949
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -248,7 +248,7 @@
...
@@ -248,7 +248,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
15057
38150.86
</float>
<float>
15057
40406.52
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_officejs_support_request_ui_test/PathTemplateItem/portal_tests/officejs_support_request_ui_zuite/testHomepageSearch.zpt
View file @
1728550c
...
@@ -49,6 +49,11 @@
...
@@ -49,6 +49,11 @@
<td>
//div[@role='main']//input[@name='search']
</td>
<td>
//div[@role='main']//input[@name='search']
</td>
<td></td>
<td></td>
</tr>
</tr>
<tr>
<td>
assertValue
</td>
<td>
//div[@role='main']//input[@name='search']
</td>
<td>
( portal_type: "Support Request")
</td>
</tr>
</tbody></table>
</tbody></table>
</body>
</body>
</html>
</html>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment