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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Titouan Soulard
erp5
Commits
cc8a31e7
Commit
cc8a31e7
authored
Sep 29, 2021
by
Aurel
Committed by
Arnaud Fontaine
Jan 27, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
column name is case sensitive
parent
36c69d5d
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 @
cc8a31e7
...
@@ -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