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

dev/core#597 Fix broken api get filter on financial_type #13273

Merged
merged 1 commit into from
Dec 17, 2018

Conversation

eileenmcnaughton
Copy link
Contributor

Overview

Fixes filter on 'name' being mishandled in FinancialType.get call

Before

Using name filter results in no results returned

After

Filter works correctly

Technical Details

The pseudoconstant on the field was causing a transformation of input that was not correct. I removed the pseudoconstant & updated the getLabel calls to use the pseudoconstant for the field they actually relate to

Comments

@mattwire can you check this doesn't break your fix. This should be back-ported to 5.8 once merged

@civibot
Copy link

civibot bot commented Dec 13, 2018

(Standard links)

@civibot civibot bot added the 5.9 label Dec 13, 2018
@eileenmcnaughton
Copy link
Contributor Author

@mattwire this needs you to check / input

@seamuslee001
Copy link
Contributor

I tested the change to FinancialType locally and confirmed it fixes the API. However haven't tested the premiums stuff

@seamuslee001
Copy link
Contributor

@eileenmcnaughton i have also now tested the premiums pages and it looks good to me

@seamuslee001
Copy link
Contributor

Given Matt's Comment in product maintenance and my testing i'm going to merge this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants