Last active
January 15, 2018 11:28
-
-
Save thet/6fa9e7b6277fd1b924d1c722fd3cc025 to your computer and use it in GitHub Desktop.
Plone: Add ``object_provides`` criteria to query string for use in collections. Put code in ``registry.xml`` and create a .tar.gz, then upload it via portal_setup and make sure to untick "Purge existing settings".
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<registry xmlns:i18n="http://xml.zope.org/namespaces/i18n"> | |
<!-- Add ``object_provides`` criteria to query string for use in collections. | |
Put code in ``registry.xml`` and create a .tar.gz, then upload it via | |
portal_setup and make sure to untick "Purge existing settings". --> | |
<records interface="plone.app.querystring.interfaces.IQueryField" | |
prefix="plone.app.querystring.field.object_provides"> | |
<value key="title">object_provides</value> | |
<value key="description">Search for provided interfaces</value> | |
<value key="enabled">True</value> | |
<value key="sortable">True</value> | |
<value key="operations"> | |
<element>plone.app.querystring.operation.list.contains</element> | |
</value> | |
</records> | |
</registry> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment