-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #110 from plone/thet-excludes
Add negative query support: string.isNot and selection.none
- Loading branch information
Showing
12 changed files
with
212 additions
and
7 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Add negation-query operators string.isNot and selection.none. | ||
New ``plone.app.querystring.operation.string.isNot`` and ``plone.app.querystring.operation.selection.none`` including upgrade steps. | ||
[thet] |
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
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
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
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
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
72 changes: 72 additions & 0 deletions
72
plone/app/querystring/profiles/upgrades/to_14/registry.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<registry xmlns:i18n="http://xml.zope.org/namespaces/i18n" | ||
i18n:domain="plone"> | ||
|
||
<records interface="plone.app.querystring.interfaces.IQueryOperation" | ||
prefix="plone.app.querystring.operation.string.isNot"> | ||
<value key="title" i18n:translate="">Is not</value> | ||
<value key="description" i18n:translate="">Tip: you can use * to autocomplete.</value> | ||
<value key="operation">plone.app.querystring.queryparser._excludes</value> | ||
<value key="widget">StringWidget</value> | ||
</records> | ||
|
||
<records interface="plone.app.querystring.interfaces.IQueryOperation" | ||
prefix="plone.app.querystring.operation.selection.none"> | ||
<value key="title" i18n:translate="">Matches none of</value> | ||
<value key="description" i18n:translate="">Tip: you can use * to autocomplete.</value> | ||
<value key="operation">plone.app.querystring.queryparser._excludes</value> | ||
<value key="widget">MultipleSelectionWidget</value> | ||
</records> | ||
|
||
<records interface="plone.app.querystring.interfaces.IQueryField" | ||
prefix="plone.app.querystring.field.getId" | ||
purge="False"> | ||
<value key="operations" purge="False"> | ||
<element>plone.app.querystring.operation.string.isNot</element> | ||
</value> | ||
</records> | ||
|
||
<records interface="plone.app.querystring.interfaces.IQueryField" | ||
prefix="plone.app.querystring.field.sortable_title" | ||
purge="False"> | ||
<value key="operations" purge="False"> | ||
<element>plone.app.querystring.operation.string.isNot</element> | ||
</value> | ||
</records> | ||
|
||
|
||
<records interface="plone.app.querystring.interfaces.IQueryField" | ||
prefix="plone.app.querystring.field.Creator" | ||
purge="False"> | ||
<value key="operations" purge="False"> | ||
<element>plone.app.querystring.operation.selection.none</element> | ||
</value> | ||
</records> | ||
|
||
|
||
<records interface="plone.app.querystring.interfaces.IQueryField" | ||
prefix="plone.app.querystring.field.portal_type" | ||
purge="False"> | ||
<value key="operations" purge="False"> | ||
<element>plone.app.querystring.operation.selection.none</element> | ||
</value> | ||
</records> | ||
|
||
|
||
<records interface="plone.app.querystring.interfaces.IQueryField" | ||
prefix="plone.app.querystring.field.review_state" | ||
purge="False"> | ||
<value key="operations" purge="False"> | ||
<element>plone.app.querystring.operation.selection.none</element> | ||
</value> | ||
</records> | ||
|
||
|
||
<records interface="plone.app.querystring.interfaces.IQueryField" | ||
prefix="plone.app.querystring.field.Subject" | ||
purge="False"> | ||
<value key="operations" purge="False"> | ||
<element>plone.app.querystring.operation.selection.none</element> | ||
</value> | ||
</records> | ||
|
||
</registry> |
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
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
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
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
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