Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
erp5_rtl_support
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
Romain Courteaud
erp5_rtl_support
Commits
04c2a9bf
Commit
04c2a9bf
authored
Oct 30, 2014
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
full text: explicitly specify ExactMatch in multiple relation field.
parent
8acfb199
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
6 deletions
+7
-6
bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldSearchDialogChangePage.xml
...ld_zuite/testMultiRelationFieldSearchDialogChangePage.xml
+5
-5
product/ERP5Form/Tool/SelectionTool.py
product/ERP5Form/Tool/SelectionTool.py
+2
-1
No files found.
bt5/erp5_ui_test/PathTemplateItem/portal_tests/relation_field_zuite/testMultiRelationFieldSearchDialogChangePage.xml
View file @
04c2a9bf
...
...
@@ -102,7 +102,7 @@
<tr>
\n
<td>
assertValue
</td>
\n
<td>
listbox_title
</td>
\n
<td>
"%1%" OR "%2%"
</td>
\n
<td>
("%1%" OR "%2%")
</td>
\n
</tr>
\n
<tr>
\n
<td>
clickAndWait
</td>
\n
...
...
@@ -119,7 +119,7 @@
<tr>
\n
<td>
assertValue
</td>
\n
<td>
listbox_title
</td>
\n
<td>
"%1%" OR "%2%"
</td>
\n
<td>
("%1%" OR "%2%")
</td>
\n
</tr>
\n
\n
<tr>
\n
...
...
@@ -137,7 +137,7 @@
<tr>
\n
<td>
assertValue
</td>
\n
<td>
listbox_title
</td>
\n
<td>
"%1%" OR "%2%"
</td>
\n
<td>
("%1%" OR "%2%")
</td>
\n
</tr>
\n
\n
<tr>
\n
...
...
@@ -181,7 +181,7 @@
<tr>
\n
<td>
assertValue
</td>
\n
<td>
listbox_title
</td>
\n
<td>
"%1%" OR "%2%"
</td>
\n
<td>
("%1%" OR "%2%")
</td>
\n
</tr>
\n
\n
<tal:block
tal:condition=
"python: context.TestTool_getSkinName()!=\'Mobile\'"
>
\n
...
...
@@ -213,7 +213,7 @@
<tr>
\n
<td>
assertValue
</td>
\n
<td>
listbox_title
</td>
\n
<td>
"%1%" OR "%2%"
</td>
\n
<td>
("%1%" OR "%2%")
</td>
\n
</tr>
\n
\n
<tr>
\n
...
...
product/ERP5Form/Tool/SelectionTool.py
View file @
04c2a9bf
...
...
@@ -1271,7 +1271,8 @@ class SelectionTool( BaseTool, SimpleItem ):
if
len
(
field_value
):
sql_catalog
=
self
.
portal_catalog
.
getSQLCatalog
()
field_value
=
sql_catalog
.
buildQuery
({
catalog_index
:
field_value
.
splitlines
()
catalog_index
:{
'query'
:
field_value
.
splitlines
(),
'key'
:
'ExactMatch'
,},
}).
asSearchTextExpression
(
sql_catalog
,
column
=
''
)
REQUEST
.
form
[
field_key
]
=
field_value
...
...
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