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: Download Dataset does not work when not logged in #1375

Merged
merged 2 commits into from
Nov 7, 2016

Conversation

mycodecrafting
Copy link
Contributor

This fixes #1247 where the download links on a visualization's public embed URL do not work if logged out of redash.

@@ -49,6 +49,7 @@ angular.module('redash', [
$scope.embed = true;
$scope.visualization = visualization;
$scope.query = visualization.query;
$scope.api_key = $location.search()['api_key'];
Copy link
Member

Choose a reason for hiding this comment

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

Should be apiKey. Other than - perfect. 👍 Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. Corrected and pushed.

@arikfr arikfr changed the title Fixes Issue #1247 Fix: Download Dataset does not work when not logged in Nov 7, 2016
@arikfr arikfr merged commit d6febb0 into getredash:master Nov 7, 2016
@arikfr
Copy link
Member

arikfr commented Nov 7, 2016

Thanks!

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.

Download Dataset does not work when not logged in
2 participants