Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Index for Dissemination field #6

Open
kaerumy opened this issue Jan 20, 2023 · 0 comments
Open

Add Index for Dissemination field #6

kaerumy opened this issue Jan 20, 2023 · 0 comments
Assignees

Comments

@kaerumy
Copy link
Member

kaerumy commented Jan 20, 2023

For Dissemination boolean field, add an Index, so that we can do index searches via API or code.

See https://training.plone.org/5/mastering-plone/behaviors_1.html#add-a-index-for-the-new-field

Example for catalog.xml

<object name="portal_catalog">
<index name="featured" meta_type="BooleanIndex">
  <indexed_attr value="featured"/>
</index>
<column value="featured"/>
</object>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants