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 #4954

Merged
merged 1 commit into from
Sep 17, 2015
Merged

Fix export all #4954

merged 1 commit into from
Sep 17, 2015

Conversation

lukasolson
Copy link
Member

Closes #4902.

Prior to this PR, the Export button at the top of the page on the saved object screen (Settings -> Objects) would not always export everything.

If you searched using the filter on that page, then hit the export button, only the results of the current search would be exported.

Only a maximum of 100 results show up by default, so if you had more than 100 dashboards, searches, or visualizations, then only the first 100 would be exported.

This PR changes it so that everything is exported, and changes the text to show that this is, in fact, what is intended by the button, so there is no confusion.

To accomplish this, we now make a request to Elasticsearch to grab all of the objects, instead of just exporting what's in view.

@Bargs
Copy link
Contributor

Bargs commented Sep 16, 2015

👍 Looks good

@w33ble
Copy link
Contributor

w33ble commented Sep 17, 2015

Just for reference, since I misunderstood it... #4902 talks about 2 issues, exporting all the saved objects, and selective exporting missing dependency objects (ie, dashboards not including saved vis objects).

This PR fixes the former, and #4489 addresses the later (which this PR does not fix).

@w33ble
Copy link
Contributor

w33ble commented Sep 17, 2015

Created 301 dashboards and 1 visualization, and the export contained all 302 items. LGTM!

w33ble added a commit that referenced this pull request Sep 17, 2015
@w33ble w33ble merged commit 441e858 into elastic:master Sep 17, 2015
@lukasolson lukasolson deleted the issues/4902 branch February 11, 2016 18:21
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.

3 participants