From 98def3926862c19b5b6ee30bba5bb0ad6bffd0db Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Wed, 24 Jan 2018 10:50:11 -0500 Subject: Bug 1429888 - See All link in Requests dropdown should show results grouped by flags as before --- extensions/Review/web/js/badge.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/Review/web') diff --git a/extensions/Review/web/js/badge.js b/extensions/Review/web/js/badge.js index 8580c0ba1..d104ce5ae 100644 --- a/extensions/Review/web/js/badge.js +++ b/extensions/Review/web/js/badge.js @@ -47,7 +47,7 @@ Bugzilla.Review.Badge = class Badge { this.initialized = true; - const url = this.$panel.querySelector('footer a').href + '&ctype=json'; + const url = this.$panel.querySelector('footer a').href.replace(/type$/, 'requestee') + '&ctype=json'; const response = await fetch(url, { credentials: 'same-origin' }); const _requests = response.ok ? await response.json() : []; -- cgit v1.2.3-24-g4f1b