How can I invert a criterion in a collection?

不问归期 提交于 2020-01-15 07:38:46

问题


Honestly I don't know how this could be done (if it's possible). I'm not seeking for a development solution, i'm seeking for a solution with a plone ootb (or a plugin).

For ex. is it possible to add a criterion that excludes all contents with a specific word in the title field from results?

or is it possible to add a path criterion that excludes all content in a specific path from results?


回答1:


Doing NOT queries is not supported by ZCatalog OOTB but it can be done with AdvancedQuery. There are not add-ons that I know of that incorporate this functionality into collections for you. IOW, this would be a development task.



来源:https://stackoverflow.com/questions/7340239/how-can-i-invert-a-criterion-in-a-collection

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!