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

Bug 462 api not possible to get plan content #2965

Commits on May 10, 2021

  1. Configuration menu
    Copy the full SHA
    8cca1ef View commit details
    Browse the repository at this point in the history

Commits on Jun 7, 2021

  1. Configuration menu
    Copy the full SHA
    367610a View commit details
    Browse the repository at this point in the history

Commits on Jun 22, 2021

  1. Configuration menu
    Copy the full SHA
    8bb0b51 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2021

  1. Issue DMPRoadmap#462 - Fix for the case where API calls for Plans was…

    … failing in
    
    some cases.
    
    Changes:
      - Reverted to replacing customised plans() method on Org model with
    the native plans() method.
    - Created a new org_admin_plans() method in Org model to replace old
    customised plans() for Org Admins. This picks up plans of users in Org
    that are co-owners of plans with plan.org_id of a different org.
    - Fixed a null pointer bug that broke the json output ig the Data contact was empty app/views/api/v0/plans/index.json.jbuilder.
    - Renamed method calls in case of Org Admins that used org.plans() to org.org_admin_plans().
    - The Plan model scope :organisationally_or_publicly_visible uses the
    or_admin_plans() method.
    - The tests org_spec.rb and plan_spec.rb updated to reflect changed
    output from new native org.plans() method customised
    org.org_admin_plans().
    John Pinto committed Jul 12, 2021
    Configuration menu
    Copy the full SHA
    525d7a2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e72bbee View commit details
    Browse the repository at this point in the history