From 3f14392b89fb7f0236eea5e54ea2bceece0c3ba7 Mon Sep 17 00:00:00 2001 From: Alison Date: Tue, 4 Jul 2017 12:58:02 -0500 Subject: [PATCH] allow unpublished queries to be used as alerts (re #97) Still can not use unpublished queries on dashboards. --- client/app/pages/alert/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/app/pages/alert/index.js b/client/app/pages/alert/index.js index 805ff24da4..bb58280f9f 100644 --- a/client/app/pages/alert/index.js +++ b/client/app/pages/alert/index.js @@ -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; }); };