Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
E
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
erp5
Commits
bf73a842
Commit
bf73a842
authored
Jul 21, 2016
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_catalog: Clean up ZSQLCatalog.py
parent
c28cbd16
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
product/ZSQLCatalog/ZSQLCatalog.py
product/ZSQLCatalog/ZSQLCatalog.py
+3
-4
No files found.
product/ZSQLCatalog/ZSQLCatalog.py
View file @
bf73a842
...
@@ -17,11 +17,10 @@ from App.special_dtml import DTMLFile
...
@@ -17,11 +17,10 @@ from App.special_dtml import DTMLFile
from
App.Dialogs
import
MessageDialog
from
App.Dialogs
import
MessageDialog
from
App.class_init
import
default__class_init__
as
InitializeClass
from
App.class_init
import
default__class_init__
as
InitializeClass
from
OFS.Folder
import
Folder
from
DateTime
import
DateTime
from
DateTime
import
DateTime
from
Acquisition
import
Implicit
,
aq_base
from
Acquisition
import
Implicit
,
aq_base
from
Persistence
import
Persistent
from
Persistence
import
Persistent
from
OFS.Folder
import
Folder
as
OFSFolder
from
Products.ERP5Type.Core.Folder
import
Folder
from
DocumentTemplate.DT_Util
import
InstanceDict
,
TemplateDict
from
DocumentTemplate.DT_Util
import
InstanceDict
,
TemplateDict
from
DocumentTemplate.DT_Util
import
Eval
from
DocumentTemplate.DT_Util
import
Eval
from
AccessControl.Permission
import
name_trans
from
AccessControl.Permission
import
name_trans
...
@@ -64,7 +63,7 @@ def manage_addZSQLCatalog(self, id, title,
...
@@ -64,7 +63,7 @@ def manage_addZSQLCatalog(self, id, title,
return
self
.
manage_main
(
self
,
REQUEST
,
update_menu
=
1
)
return
self
.
manage_main
(
self
,
REQUEST
,
update_menu
=
1
)
class
ZCatalog
(
OFS
Folder
,
Persistent
,
Implicit
):
class
ZCatalog
(
Folder
,
Persistent
,
Implicit
):
"""ZCatalog object
"""ZCatalog object
A ZCatalog contains arbirary index like references to Zope
A ZCatalog contains arbirary index like references to Zope
...
@@ -132,7 +131,7 @@ class ZCatalog(OFSFolder, Persistent, Implicit):
...
@@ -132,7 +131,7 @@ class ZCatalog(OFSFolder, Persistent, Implicit):
(
'Search ZCatalog'
,
(
'Search ZCatalog'
,
[
'searchResults'
,
'__call__'
,
'uniqueValuesFor'
,
[
'searchResults'
,
'__call__'
,
'uniqueValuesFor'
,
'schema'
,
'names'
,
'indexes'
,
'
getpath'
,
'
schema'
,
'names'
,
'indexes'
,
'all_meta_types'
,
'valid_roles'
,
'resolve_url'
,
'all_meta_types'
,
'valid_roles'
,
'resolve_url'
,
'getobject'
,
'getObject'
,
'getObjectList'
,
'getCatalogSearchTableIds'
,
'getobject'
,
'getObject'
,
'getObjectList'
,
'getCatalogSearchTableIds'
,
'getCatalogSearchResultKeys'
,
'getFilterableMethodList'
,
],
'getCatalogSearchResultKeys'
,
'getFilterableMethodList'
,
],
...
...
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