diff options
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/Review/template/en/default/hook/global/header-badge.html.tmpl | 2 | ||||
-rw-r--r-- | extensions/Review/web/js/badge.js | 2 |
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&requestee=[% user.login FILTER uri %]&group=requestee" + <div><a href="request.cgi?action=queue&requestee=[% user.login FILTER uri %]&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() : []; |