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

Fix catalog query in analysis category modified handler #1882

Merged
merged 2 commits into from
Nov 22, 2021

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

This PR fixes the object modified handler for Analysis Categories.

Current behavior before PR

Catalog index getCategoryUID is used, which was renamed to category_uid here:
e1228c1

This led to long creation time for new category objects

Desired behavior after PR is merged

Catalog query uses index category_uid

--
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.

@ramonski ramonski requested a review from xispa November 19, 2021 19:33
@xispa xispa merged commit b0bd5d0 into 2.x Nov 22, 2021
@xispa xispa deleted the fix-event-handler-after-analysiscategory-change branch November 22, 2021 08:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

2 participants