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

Added getPriorityText method to AR and included in AR doctest #498

Merged
merged 1 commit into from
Dec 29, 2017

Conversation

mikejmets
Copy link
Contributor

Description of the issue/feature this PR addresses

Extended the AR content type with method getPriorityText that looks up the priority from the vocabulatry

Linked issue: #497

Current behavior before PR

No method to get the text for an AR priority

Desired behavior after PR is merged

getPriorityText on AR returns the priority text

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

Copy link
Member

@xispa xispa left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@xispa xispa merged commit 7cf952e into senaite:master Dec 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants