[Erp5-report] r42152 kazuhiko - in /erp5/trunk/bt5/erp5_full_text_sphinxse_catalog: Catalog...
nobody at svn.erp5.org
nobody at svn.erp5.org
Sat Jan 8 22:52:36 CET 2011
Author: kazuhiko
Date: Sat Jan 8 22:52:36 2011
New Revision: 42152
URL: http://svn.erp5.org?rev=42152&view=rev
Log:
fix a bug of condition to check if indexing is possible or not.
Modified:
erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_catalogSphinxSE.xml
erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/bt/revision
Modified: erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_catalogSphinxSE.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_catalogSphinxSE.xml?rev=42152&r1=42151&r2=42152&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_catalogSphinxSE.xml [utf8] (original)
+++ erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/CatalogMethodTemplateItem/portal_catalog/erp5_mysql_innodb/SQLCatalog_catalogSphinxSE.xml [utf8] Sat Jan 8 22:52:36 2011
@@ -59,7 +59,7 @@ parameter_dict = {\'uid\':[], \'Searchab
for i in context.getPortalObject().portal_catalog(path=getPath, select_expression=\'SearchableText\'):\n
for property in (\'uid\', \'SearchableText\'):\n
parameter_dict[property].append(getattr(i, property))\n
-if len(parameter_dict):\n
+if len(parameter_dict[\'uid\']):\n
return method(**parameter_dict)\n
return\n
\n
Modified: erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/bt/revision?rev=42152&r1=42151&r2=42152&view=diff
==============================================================================
--- erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/erp5_full_text_sphinxse_catalog/bt/revision [utf8] Sat Jan 8 22:52:36 2011
@@ -1 +1 @@
-14
\ No newline at end of file
+15
\ No newline at end of file
More information about the Erp5-report
mailing list