Commit 4a033757 authored by Jérome Perrin's avatar Jérome Perrin

pass urls argument to SQLCatalog when reindexing

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@6880 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 675b882b
...@@ -470,7 +470,7 @@ class ZCatalog(Folder, Persistent, Implicit): ...@@ -470,7 +470,7 @@ class ZCatalog(Folder, Persistent, Implicit):
catalog.manage_uncatalogObject(REQUEST, RESPONSE, URL1, urls=urls) catalog.manage_uncatalogObject(REQUEST, RESPONSE, URL1, urls=urls)
def manage_catalogReindex(self, REQUEST, RESPONSE, URL1, sql_catalog_id=None): def manage_catalogReindex(self, REQUEST, RESPONSE, URL1, urls=None, sql_catalog_id=None):
""" clear the catalog, then re-index everything """ """ clear the catalog, then re-index everything """
if sql_catalog_id is None: if sql_catalog_id is None:
sql_catalog_id = REQUEST.get('sql_catalog_id', None) sql_catalog_id = REQUEST.get('sql_catalog_id', None)
......
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