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

Use most recent AR as primary storage #52

Merged
merged 1 commit into from
Nov 25, 2018
Merged

Conversation

ramonski
Copy link
Contributor

Description of the issue/feature this PR addresses

This PR supersedes #48

The issue here is that the primary AR for storage was determined by the order in which the ARs appear in the report. This differs depending on the template, e.g. the primary appears on top (first position) for multi-reports, but on the most right (last position) for multi-by-column templates.

Current behavior before PR

Primary AR determined by the order in which they appear in the Report.

Desired behavior after PR is merged

Primary AR is always the most recent one depending on the created date

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

@ramonski ramonski merged commit 1b2a27b into master Nov 25, 2018
@ramonski ramonski deleted the primary-report-by-created branch November 25, 2018 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant