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
Noah Brackenbury
erp5
Commits
0f044971
Commit
0f044971
authored
Jul 19, 2017
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sql_catalog: Use isIndexing Required for checking on indexing
parent
068262ea
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
product/ZSQLCatalog/SQLCatalog.py
product/ZSQLCatalog/SQLCatalog.py
+4
-4
No files found.
product/ZSQLCatalog/SQLCatalog.py
View file @
0f044971
...
...
@@ -1324,7 +1324,7 @@ class Catalog(Folder,
Similar problems may happen with relations and acquisition of uid values (ex. order_uid)
with the risk of graph loops
"""
if
not
self
.
isIndex
able
():
if
not
self
.
isIndex
ingRequired
():
return
None
klass
=
self
.
__class__
...
...
@@ -1504,7 +1504,7 @@ class Catalog(Folder,
LOG
(
'ZSLQCatalog.SQLCatalog:catalogObjectList'
,
WARNING
,
'idxs is ignored in this function and is only provided to be compatible with CMFCatalogAware.reindexObject.'
)
if
not
self
.
isIndex
able
():
if
not
self
.
isIndex
ingRequired
():
return
# Reminder about optimization: It might be possible to issue just one
...
...
@@ -1765,7 +1765,7 @@ class Catalog(Folder,
"""
Set the path as deleted
"""
if
not
self
.
isIndex
able
():
if
not
self
.
isIndex
ingRequired
():
return
None
if
uid
is
None
and
path
is
not
None
:
...
...
@@ -1798,7 +1798,7 @@ class Catalog(Folder,
XXX Add filter of methods
"""
if
not
self
.
isIndex
able
():
if
not
self
.
isIndex
ingRequired
():
return
None
if
uid
is
None
and
path
is
not
None
:
...
...
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