Navigation Menu

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

Analyses Requests w/o submitted results always appear as not late #1051

Merged
merged 6 commits into from Oct 8, 2018

Conversation

xispa
Copy link
Member

@xispa xispa commented Oct 8, 2018

Description of the issue/feature this PR addresses

Since getLate is returning a bool value and the ar lists are using brains to display the "late" icon, Analyses Requests without submitted analyses always appear as they were in time.

Current behavior before PR

Late icon in analysis requests listings is not trustworthy

Desired behavior after PR is merged

Late icon in analysis requests listings is displayed correctly

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

Since getLate was returning a bool value and the ar lists are using
brains to display the "late" icon, Analyses Requests for which analyses
have never been submitted always appear as they were in time.
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.

cool, thanks 👍

@ramonski ramonski merged commit 366cb57 into master Oct 8, 2018
@ramonski ramonski deleted the ar-late branch October 8, 2018 12:07
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.

None yet

2 participants