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

Indicator period not shown in RSR Results page #2507

Closed
nadiagorchakova opened this issue Jan 16, 2017 · 0 comments
Closed

Indicator period not shown in RSR Results page #2507

nadiagorchakova opened this issue Jan 16, 2017 · 0 comments
Assignees
Labels

Comments

@nadiagorchakova
Copy link
Contributor

One partner reported that indicator period is not showing up on RSR results page.
Please see project - http://rsr.akvo.org/en/myrsr/project_editor/5285/

Each indicator in their Results framework seems to have indicator period 01/01/2016 - 31/12/2016 but it does not appear in the Results tab and consequently their akvoapp page: http://nso-g4aw.akvoapp.org/en/myrsr/results/5285/#results,20918,16601
All other indicator periods appear as normal.
So far, I wasn't able to detect what's different about year 2016 for this project..

@punchagan, could you investigate?

punchagan added a commit that referenced this issue Jan 19, 2017
Not ensuring that `.distinct` is called on the queryset used by subclasses of
`PublicProjectViewSet` caused a bug where an indicator period was missing from
the results page of a project.  This commit fixes that bug.

This commit comes with a simple test, but the test isn't actually able to
reproduce the bug on production.  Not sure what exactly needs to be done to
reproduce that bug.
punchagan added a commit that referenced this issue Jan 19, 2017
Not ensuring that `.distinct` is called on the queryset used by subclasses of
`PublicProjectViewSet` caused a bug where an indicator period was missing from
the results page of a project.  This commit fixes that bug.

This commit comes with a simple test, but the test isn't actually able to
reproduce the bug on production.  Not sure what exactly needs to be done to
reproduce that bug.

Closes #2507
@punchagan punchagan added this to the 3.21 Wellington milestone Jan 31, 2017
punchagan added a commit that referenced this issue Feb 1, 2017
[#2507] Fix broken pagination on subclasses of PublicProjectViewSet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants