Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5-Boxiang
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
Hamza
erp5-Boxiang
Commits
d72c36be
Commit
d72c36be
authored
Jun 07, 2019
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SearchTextParser: Fix a NameError in the parser debugger interactive prompt
parent
330a0516
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
product/ZSQLCatalog/SearchText/SearchTextParser.py
product/ZSQLCatalog/SearchText/SearchTextParser.py
+1
-1
No files found.
product/ZSQLCatalog/SearchText/SearchTextParser.py
View file @
d72c36be
...
...
@@ -279,7 +279,7 @@ if __name__ == '__main__':
query_list
=
[
walk
(
x
,
key
)
for
x
in
node
.
getNodeList
()]
operator
=
node
.
getLogicalOperator
()
if
operator
==
'not'
or
len
(
query_list
)
>
1
:
result
=
ComplexQuery
(
query_list
,
logical_operator
=
logical_
operator
)
result
=
ComplexQuery
(
query_list
,
logical_operator
=
operator
)
elif
len
(
query_list
)
==
1
:
result
=
query_list
[
0
]
else
:
...
...
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