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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Aurélien Vermylen
erp5
Commits
12b5a000
Commit
12b5a000
authored
Oct 17, 2013
by
Vincent Pelletier
Committed by
Julien Muchembled
Oct 18, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZSQLCatalog: fix search of non-NULL values
parent
011e5336
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
product/ZSQLCatalog/SearchKey/SearchKey.py
product/ZSQLCatalog/SearchKey/SearchKey.py
+1
-6
No files found.
product/ZSQLCatalog/SearchKey/SearchKey.py
View file @
12b5a000
...
@@ -294,12 +294,7 @@ class SearchKey(object):
...
@@ -294,12 +294,7 @@ class SearchKey(object):
if
logical_operator
is
None
:
if
logical_operator
is
None
:
logical_operator
=
default_logical_operator
logical_operator
=
default_logical_operator
operator_value_dict
=
{}
operator_value_dict
=
{}
if
None
in
search_value
:
if
comparison_operator
is
None
:
if
comparison_operator
not
in
(
None
,
'is'
):
LOG
(
'KeywordKey'
,
100
,
'None value requires an "is" comparison operator. Fixed.'
)
operator_value_dict
[
'is'
]
=
search_value
elif
comparison_operator
is
None
:
if
issubclass
(
reference_class
,
basestring
):
if
issubclass
(
reference_class
,
basestring
):
if
get_operator_from_value
:
if
get_operator_from_value
:
parsed
=
True
parsed
=
True
...
...
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