plone / plone/plone.app.querystring
Creator criterium does not offer to use manually added entries of the creator field
@tisto is already working on this.
Since Sep 29, 2025.
- Dominant language
- Python
- Stars
- 2
- Forks
- 25
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 2
Description
Describe the bug
When trying to use a Listing block in Volto, you can only filter for users that actually exist as such. But in the creator field you can actually also add arbitrary strings. Those terms added to the Creator field via the freetext field are not displayed as options for the listing. Those manually created "Creators" should be usable in the criterium as well
To Reproduce
Steps to reproduce the behavior:
- go to demo.plone.org
- As editor/admin Create a new page3. Add "Lorem" to the creator field and save
- Create another page and add a listing block
- configure the listing block to have the "Creator" criterium
- You can only choose fro existing users for that field not the "lorem" Creator added to the first page
Screenshots
"lorem" Creator added:
Trying to use that as filter criterium:
Software (please complete the following information):
- Plone Version: 6.1.2
- Volto Version: 18.23.0
- Plone REST API Version: 9.15.1
Technical info:
The response from @querystring looks like this for the example given:
{
"Creator": {
"description": "The person that created an item",
"enabled": true,
"fetch_vocabulary": true,
"group": "Metadata",
"operations": [
"plone.app.querystring.operation.string.currentUser",
"plone.app.querystring.operation.selection.any",
"plone.app.querystring.operation.selection.none"
],
"operators": {
"plone.app.querystring.operation.selection.any": {
"description": "Tip: you can use * to autocomplete.",
"operation": "plone.app.querystring.queryparser._contains",
"title": "Matches any of",
"widget": "MultipleSelectionWidget"
},
"plone.app.querystring.operation.selection.none": {
"description": "Tip: you can use * to autocomplete.",
"operation": "plone.app.querystring.queryparser._excludes",
"title": "Matches none of",
"widget": "MultipleSelectionWidget"
},
"plone.app.querystring.operation.string.currentUser": {
"description": "The user viewing the querystring results",
"operation": "plone.app.querystring.queryparser._currentUser",
"title": "Current logged in user",
"widget": null
}
},
"sortable": true,
"title": "Creator",
"values": {
"my-user": {
"title": "My User"
}
},
"vocabulary": "plone.app.vocabularies.Users"
}
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.