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
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
Jérome Perrin
erp5
Commits
990f7aee
Commit
990f7aee
authored
Aug 30, 2017
by
Vincent Pelletier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ZSQLCatalog: Stop exposing SQLQuery.
parent
886a6526
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
product/ZSQLCatalog/SQLCatalog.py
product/ZSQLCatalog/SQLCatalog.py
+0
-1
product/ZSQLCatalog/__init__.py
product/ZSQLCatalog/__init__.py
+1
-1
No files found.
product/ZSQLCatalog/SQLCatalog.py
View file @
990f7aee
...
@@ -2594,6 +2594,5 @@ def getComparisonOperatorInstance(operator):
...
@@ -2594,6 +2594,5 @@ def getComparisonOperatorInstance(operator):
return
operator_dict
[
operator
]
return
operator_dict
[
operator
]
from
Query.EntireQuery
import
EntireQuery
from
Query.EntireQuery
import
EntireQuery
from
Query.SQLQuery
import
SQLQuery
verifyClass
(
ISearchKeyCatalog
,
Catalog
)
verifyClass
(
ISearchKeyCatalog
,
Catalog
)
product/ZSQLCatalog/__init__.py
View file @
990f7aee
...
@@ -38,7 +38,7 @@ def initialize(context):
...
@@ -38,7 +38,7 @@ def initialize(context):
from
AccessControl
import
ModuleSecurityInfo
,
ClassSecurityInfo
from
AccessControl
import
ModuleSecurityInfo
,
ClassSecurityInfo
ModuleSecurityInfo
(
'Products.ZSQLCatalog.SQLCatalog'
).
declarePublic
(
ModuleSecurityInfo
(
'Products.ZSQLCatalog.SQLCatalog'
).
declarePublic
(
'ComplexQuery'
,
'Query'
,
'NegatedQuery'
,
'AndQuery'
,
'OrQuery'
,
'ComplexQuery'
,
'Query'
,
'NegatedQuery'
,
'AndQuery'
,
'OrQuery'
,
'BaseQuery'
,
'SQLQuery'
)
'BaseQuery'
)
from
Query
import
Query
,
SimpleQuery
from
Query
import
Query
,
SimpleQuery
from
SearchKey
import
SearchKey
from
SearchKey
import
SearchKey
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