summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-01-24 16:50:11 +0100
committerDylan William Hardison <dylan@hardison.net>2018-01-24 16:50:11 +0100
commit98def3926862c19b5b6ee30bba5bb0ad6bffd0db (patch)
tree48f598f4c99c5cf0fe262ecc158fde9c69ea1fe0 /extensions
parent6d835375c1ccb19efabb1768acfb0d361ef931b4 (diff)
downloadbugzilla-98def3926862c19b5b6ee30bba5bb0ad6bffd0db.tar.gz
bugzilla-98def3926862c19b5b6ee30bba5bb0ad6bffd0db.tar.xz
Bug 1429888 - See All link in Requests dropdown should show results grouped by flags as before
Diffstat (limited to 'extensions')
-rw-r--r--extensions/Review/template/en/default/hook/global/header-badge.html.tmpl2
-rw-r--r--extensions/Review/web/js/badge.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Review/template/en/default/hook/global/header-badge.html.tmpl b/extensions/Review/template/en/default/hook/global/header-badge.html.tmpl
index df3dd82be..bd46b68d9 100644
--- a/extensions/Review/template/en/default/hook/global/header-badge.html.tmpl
+++ b/extensions/Review/template/en/default/hook/global/header-badge.html.tmpl
@@ -32,7 +32,7 @@
<div class="empty">You’re all caught up!</div>
[%- END -%]
<footer>
- <div><a href="request.cgi?action=queue&amp;requestee=[% user.login FILTER uri %]&amp;group=requestee"
+ <div><a href="request.cgi?action=queue&amp;requestee=[% user.login FILTER uri %]&amp;group=type"
role="menuitem" tabindex="-1">See All</a></div>
</footer>
</section>
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() : [];