Skip to content

Commit

Permalink
Update README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
davisagli authored Jan 8, 2024
1 parent 409e5c7 commit 7826302
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,8 @@ It can be used to query for items that use a particular type of block.

.. code-block:: python
from plone import api
portal_catalog = api.portal.get_tool("portal_catalog")
portal_catalog.searchResults(block_types="image")
The ``block_types`` index was added in plone.volto 4.1.0.
Expand Down

0 comments on commit 7826302

Please sign in to comment.