Skip to content

Commit

Permalink
allow unpublished queries to be used as alerts
Browse files Browse the repository at this point in the history
Still can not use unpublished queries on dashboards.
  • Loading branch information
alison985 committed Jul 14, 2017
1 parent c467496 commit 8833d04
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 @@ -48,7 +48,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 8833d04

Please sign in to comment.