Skip to content

Commit

Permalink
Add mising fetch_vocabulary record for IQueryField
Browse files Browse the repository at this point in the history
This was introduced in plone.app.querystring 1.5.0
See plone/plone.app.querystring@2e7e326
  • Loading branch information
laulaz committed Jul 13, 2022
1 parent e38d771 commit 19c91ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ Changes
3.0.0a2 (unreleased)
--------------------

- Nothing changed yet.
- Add mising `fetch_vocabulary` record for IQueryField
This was introduced in plone.app.querystring 1.5.0
[laulaz]


3.0.0a1 (2022-07-13)
Expand Down
2 changes: 2 additions & 0 deletions src/collective/taxonomy/behavior.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ def deactivateSearchable(self):
"group",
"operations",
"vocabulary",
"fetch_vocabulary",
"sortable",
"description",
):
Expand Down Expand Up @@ -129,6 +130,7 @@ def add(name, value):
add(
"vocabulary", Record(field.TextLine(), safe_unicode(self.vocabulary_name))
) # noqa: E501
add("fetch_vocabulary", Record(field.Bool(), True))
add("sortable", Record(field.Bool(), False))
add("description", Record(field.Text(), safe_unicode("")))

Expand Down

0 comments on commit 19c91ca

Please sign in to comment.