Skip to content

Commit

Permalink
merged from fix_catalog_sitemap
Browse files Browse the repository at this point in the history
  • Loading branch information
zmsdev committed Jul 26, 2023
1 parent b65fd74 commit 2c947a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Products/zms/ZMSZCatalogConnector.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,9 @@ def recreateCatalog(self, zcm, lang):
break
index_name = 'zcat_index_%s'%attr_id
index_type = zcm.getConfProperty('ZCatalog.TextIndexType','ZCTextIndex')
if attr_type == 'date':
if index_name == 'zcat_index_home_id':
index_type = KeywordIndex(index_name)
elif attr_type == 'date':
index_type = DateIndex(attr_id)
extra = None
if index_type == 'ZCTextIndex':
Expand Down

0 comments on commit 2c947a5

Please sign in to comment.