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
Labels
Merge Requests
138
Merge Requests
138
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
6a5efb5c
Commit
6a5efb5c
authored
Sep 29, 2021
by
Aurel
Committed by
Arnaud Fontaine
Mar 01, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
column name is case sensitive
parent
fd6e1a48
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 @
6a5efb5c
...
@@ -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