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

Fix #9641 DataList->column mutating underlying DataQuery #9645

Merged
merged 1 commit into from Aug 22, 2020

Conversation

MasonD
Copy link
Contributor

@MasonD MasonD commented Aug 20, 2020

Fixes #9641

In DataList->column, clone the DataQuery before calling distinct(false), to avoid mutating it.

src/ORM/DataList.php Show resolved Hide resolved
@sminnee sminnee merged commit 009ae3e into silverstripe:4.6 Aug 22, 2020
@MasonD MasonD deleted the datalist-column-bug branch September 1, 2020 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants