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 analysis categories are not sorted by sort key #2619

Merged
merged 3 commits into from
Sep 13, 2024

Conversation

xispa
Copy link
Member

@xispa xispa commented Sep 11, 2024

Description of the issue/feature this PR addresses

This Pull Request addresses an issue introduced with #2567 so that categories are no longer sorted by Sort Key in analyses listings and in sample add form. Reason is that sortable_title was declared as an indexer for the old IAnalysisCategory marker interface that was used for AT.

Current behavior before PR

Analysis categories are not sorted in accorance with SortKey in analyses listings

Desired behavior after PR is merged

Analysis categories are sorted in accorance with SortKey in analyses listings

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

@xispa xispa requested a review from ramonski September 11, 2024 20:08
@xispa xispa added the Bug 🐞 label Sep 11, 2024
Copy link
Contributor

@ramonski ramonski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ramonski ramonski merged commit 73338d9 into 2.x Sep 13, 2024
2 checks passed
@ramonski ramonski deleted the fix-categories-not-sorted branch September 13, 2024 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