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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sebastien Robin
erp5
Commits
5742bf4b
Commit
5742bf4b
authored
Sep 29, 2021
by
Aurel
Committed by
Jérome Perrin
Mar 03, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
column name is case sensitive
parent
1a86960f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
bt5/erp5_dms/TestTemplateItem/portal_components/test.erp5.testDms.py
...s/TestTemplateItem/portal_components/test.erp5.testDms.py
+3
-3
No files found.
bt5/erp5_dms/TestTemplateItem/portal_components/test.erp5.testDms.py
View file @
5742bf4b
...
@@ -2530,9 +2530,9 @@ return 1
...
@@ -2530,9 +2530,9 @@ return 1
self
.
tic
()
self
.
tic
()
# full text indexation
# full text indexation
full_text_result
=
portal
.
erp5_sql_connection
.
manage_test
(
'select * from full_text where uid="%s"'
%
document
.
getUid
())
full_text_result
=
portal
.
erp5_sql_connection
.
manage_test
(
'select * from full_text where uid="%s"'
%
document
.
getUid
())
self
.
assertIn
(
'subject2'
,
full_text_result
[
0
][
'
searchablet
ext'
])
self
.
assertIn
(
'subject2'
,
full_text_result
[
0
][
'
SearchableT
ext'
])
self
.
assertIn
(
'subject1'
,
full_text_result
[
0
][
'
searchablet
ext'
])
self
.
assertIn
(
'subject1'
,
full_text_result
[
0
][
'
SearchableT
ext'
])
self
.
assertIn
(
document
.
getReference
(),
full_text_result
[
0
][
'
searchablet
ext'
])
self
.
assertIn
(
document
.
getReference
(),
full_text_result
[
0
][
'
SearchableT
ext'
])
# subject indexation
# subject indexation
for
subject_list
in
([
'subject1'
,],
[
'subject2'
,],
for
subject_list
in
([
'subject1'
,],
[
'subject2'
,],
...
...
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