Skip to content

Commit

Permalink
allow unpublished queries to be used as alerts (re getredash#97)
Browse files Browse the repository at this point in the history
Still can not use unpublished queries on dashboards.
  • Loading branch information
alison985 authored and Allen Short committed Dec 12, 2017
1 parent f50acc2 commit 52fbfcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/app/pages/alert/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function AlertCtrl($routeParams, $location, $sce, toastr, currentUser, Query, Ev
return;
}

Query.search({ q: term }, (results) => {
Query.search({ q: term, include_drafts: true }, (results) => {
this.queries = results;
});
};
Expand Down

0 comments on commit 52fbfcb

Please sign in to comment.