【发布时间】:2014-09-19 16:16:56
【问题描述】:
如果“特色”字段为真,我想创建一个返回我的自定义敏捷类型的集合。我已将此字段添加到目录中...我还需要做什么才能在集合搜索词中看到它吗?
【问题讨论】:
如果“特色”字段为真,我想创建一个返回我的自定义敏捷类型的集合。我已将此字段添加到目录中...我还需要做什么才能在集合搜索词中看到它吗?
【问题讨论】:
当您说“我已将此字段添加到 index”时,您的意思是 portal_catalog?
如果是,您还必须将该索引配置为新的收集条件。如果您使用的是新样式集合,则需要一个 Generi 设置导入步骤 registry.xml。参见 plone.app.querystring 包:https://github.com/plone/plone.app.querystring/blob/master/plone/app/querystring/profiles/default/registry.xml
【讨论】:
"plone.app.querystring.field.department 而在问题中您要求的是 featured 字段。