In this PR we return specific fields from the Membership API.
Before
The modify instalment page is broken, and the user cannot perform any action.
After
The modify instalment page displays as expected, and the user can perform the expected actions.
Technical Details
Before now when getting related membership of line items, we return every membership field, and these might include attachment fields also, which can break the page. in this PR we limit the returned membership fields to 'start_date', 'end_date', 'id'.
'start_date', 'end_date', 'id' are the membership fields we recognize are required for now.
Overview
In this PR we return specific fields from the Membership API.
Before
The
modify instalment
page is broken, and the user cannot perform any action.After
The
modify instalment
page displays as expected, and the user can perform the expected actions.Technical Details
Before now when getting related membership of line items, we return every membership field, and these might include attachment fields also, which can break the page. in this PR we limit the returned membership fields to
'start_date', 'end_date', 'id'
.'start_date', 'end_date', 'id'
are the membership fields we recognize are required for now.