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

Return a new instance of source filters array #2248

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jesusbotella
Copy link
Contributor

@jesusbotella jesusbotella commented Jan 31, 2020

This PR modifies getFilters() method return value, given that there might be some incorrect behaviours when reusing that original array.

@oriolbx has found a bug when trying to remove filters from the source with source.getFilters() didn't work properly because we were modifying the same array.

@Mmoncadaisla
Copy link

@VictorVelarde this issue recently came up in Support and it'd be great if this fix could be applied, do you think it'd be feasible to implement this? cc @pablomoniz

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

Successfully merging this pull request may close these issues.

2 participants