Skip to content
This repository has been archived by the owner on Jun 12, 2024. It is now read-only.

Fix for issue #431: Not all records are exported when calling DataGrid::buildCSV() #432

Merged
merged 1 commit into from
Jul 23, 2018

Conversation

sroutier
Copy link
Contributor

@sroutier sroutier commented May 7, 2018

As the title says, fix for issue #431.
This also has a significant yet simple performance improvement to the loop gathering the data/rows from $this->source for the PDOStatement on lines 212:215 of DataSet::build(), by simply getting out of the loop as soon as all required records have been collected. My mistake for not including this in my initial PR.

Note: I am working on #430, but it is probably better and easier to understand if the PR's are kept to small units.

Cheers.
/s

@zofe zofe merged commit 206d224 into zofe:master Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants