naxa-developers / sakchyam_client

Sakchyam frontend repo
1 stars 0 forks source link

Province filter isnot applied on budget and beneficiaries chart(Investment Focus), Sunbrust and Sankey #520

Open arjun-naxa opened 3 years ago

arjun-naxa commented 3 years ago

BUG When we first apply province filter and apply investment focus filter, then the data of investment focus is displayed over budget and beneficiaries(Investment Focus) chart but not investment focus and geographical filter combined.

STEPS TO GENERATE ISSUES

  1. On Partnership module, apply province 1 filter.
  2. Try applying investment focus filter from left side bar.
  3. See error.
arjun-naxa commented 3 years ago

@varun2948 i am not getting overview section when we apply first province filter(Say province 3 ) and second project filter?

If I am getting sunburst chart with same filter, then why I am not getting investment focus bar.

@varun2948 Also check for same case for partner type and partner name

varun2948 commented 3 years ago

image GET REQUEST of Overview Showing : https://sakchyam.naxa.com.np/api/v1/partnership/overview/?&project_filter=1&&&province_id=3

@metalica20

varun2948 commented 3 years ago

Partnership Filter Api Same Issue Blank Data : https://sakchyam.naxa.com.np/api/v1/partnership/partnership-filter/ payload: {"status":"","view":"total_beneficiary","partner_id":[0],"partner_type":[],"project_id":[1],"province_id":[],"district_id":[],"municipality_id":[],"investment":["Outreach Expansion"],"investment_filter":[],"investment_project":[],"investment_province":[3],"investment_district":[],"investment_municipality":[]}

varun2948 commented 3 years ago

2nd Api Request https://sakchyam.naxa.com.np/api/v1/partnership/partnership-filter/ payload:{"status":"","view":"female_beneficiary","partner_id":[0],"partner_type":[],"project_id":[1],"province_id":[3],"district_id":[],"municipality_id":[],"investment":[],"investment_filter":[],"investment_project":[],"investment_province":[],"investment_district":[],"investment_municipality":[]}

varun2948 commented 3 years ago

3rd api request https://sakchyam.naxa.com.np/api/v1/partnership/partnership-filter/ payload: {"status":"","view":"total_beneficiary","partner_id":[0],"partner_type":[],"project_id":[1],"province_id":[],"district_id":[],"municipality_id":[],"investment":["Automation of MFIs","Channel Innovations","Digital Financial Services","Downscaling and Value Chain Financing By Banks","Increased uptake of microinsurance","Outreach Expansion","Product Innovations","Remittance Based Products","SME Financing"],"investment_filter":[],"investment_project":[],"investment_province":[3],"investment_district":[],"investment_municipality":[]}

arjun-naxa commented 3 years ago

@varun2948 province and partner filter is not applied on any of the chart. First apply province filter(say province 1) and select all partner institutions. See error.

@varun2948 another issues...when we apply filter and switch from one tab to another say(from beneficiaries to budget), then applied filter shouldn't have to be reset.