Skip to content

Commit

Permalink
allow unpublished queries to be used as alerts (re #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 Jan 8, 2018
1 parent 949c1ea commit 3f14392
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 3f14392

Please sign in to comment.