Commit c0b016a7 authored by Vincent Pelletier's avatar Vincent Pelletier

Remove catalog method custom wrapping, as it prevents indexation method from...

Remove catalog method custom wrapping, as it prevents indexation method from accessing each other (useful when one is a python script wishing to access ZSQLMethods to do actual indexation).


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25607 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4ab68161
......@@ -1233,10 +1233,6 @@ class Catalog(Folder,
if not self.isIndexable():
return
portal_catalog = self.getSiteRoot().portal_catalog # XXX-JPS - This is a hardcoded name. Weird
# Isn't self == self.getSiteRoot().portal_catalog
# in this case ?
# Reminder about optimization: It might be possible to issue just one
# query to get enought results to check uid & path consistency.
path_uid_dict = {}
......@@ -1412,8 +1408,6 @@ class Catalog(Folder,
append(value)
kw[arg] = value_list
method = aq_base(method).__of__(portal_catalog) # Use method in
# the context of portal_catalog
# Alter/Create row
try:
#start_time = DateTime()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment