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 Export All - Backport of 4954 #4970

Merged
merged 2 commits into from
Sep 17, 2015
Merged

Conversation

w33ble
Copy link
Contributor

@w33ble w33ble commented Sep 17, 2015

See #4954 for details.

Converted to ES5 and applied to the 4.1 branch.

var self = this;
size = size || 100;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, I guess technically it's possible to pass in 0 as the size here (which could be valid, if you were just doing this.find to end up getting the total back, and weren't interested in the actual docs). Maybe doing a check for undefined or our standard != null might be better here...

@w33ble w33ble force-pushed the export-all-backport branch from 81e2963 to 02c018d Compare September 17, 2015 21:05
@lukasolson
Copy link
Member

LGTM.

lukasolson added a commit that referenced this pull request Sep 17, 2015
Fix Export All - Backport of 4954
@lukasolson lukasolson merged commit 4b54101 into elastic:4.1 Sep 17, 2015
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.

2 participants