-
-
Notifications
You must be signed in to change notification settings - Fork 152
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 ProfileKey to AnalysisProfiles table #1987
Conversation
@@ -122,6 +122,7 @@ def folderitem(self, obj, item, index): | |||
|
|||
item["replace"]["Title"] = get_link(url, value=title) | |||
item["Description"] = description | |||
item["ProfileKey"] = obj.ProfileKey |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please use the object getter instead of accessing the attribute directly.
=> obj.getProfileKey()
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, my bad. Corrected
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks Leonid 👍
Co-authored-by: Ramon Bartl <[email protected]>
microfix
Description of the issue/feature this PR addresses
ProfileKey does not appear in the Profiles table
Linked issue: https://github.com/senaite/senaite.core/issues/
Current behavior before PR
No profile key

Desired behavior after PR is merged
ProfileKey shown
I confirm I have tested this PR thoroughly and coded it according to PEP8
and Plone's Python styleguide standards.