From 7c39ca2f98f2f5431713ad387849217f12cc03c2 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Tue, 1 Sep 2015 15:18:48 +0000 Subject: Bug 1200610: jsonrpc API requests do not work when "Require API-Key authentication for API requests" is enabled due to missing API tokens --- js/instant-search.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'js/instant-search.js') diff --git a/js/instant-search.js b/js/instant-search.js index a3f051f2f..8277b97a9 100644 --- a/js/instant-search.js +++ b/js/instant-search.js @@ -151,7 +151,8 @@ YAHOO.bugzilla.instantSearch = { product: YAHOO.bugzilla.instantSearch.getProduct(), summary: query, limit: 20, - include_fields: [ "id", "summary", "status", "resolution", "component" ] + include_fields: [ "id", "summary", "status", "resolution", "component" ], + Bugzilla_api_token : (BUGZILLA.api_token ? BUGZILLA.api_token : '') } }; -- cgit v1.2.3-24-g4f1b