summaryrefslogtreecommitdiffstats
path: root/extensions/BMO
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2018-07-19 04:44:38 +0200
committerDylan William Hardison <dylan@hardison.net>2018-07-19 04:44:38 +0200
commit08e31d692fec488ef88a18040d28ebbfc9c6b443 (patch)
tree001c92f313545b79e101d6f02924c6d4c9945f1f /extensions/BMO
parent535a1fd09e4b150e31165e2e79af42c2e5f2bda5 (diff)
downloadbugzilla-08e31d692fec488ef88a18040d28ebbfc9c6b443.tar.gz
bugzilla-08e31d692fec488ef88a18040d28ebbfc9c6b443.tar.xz
Bug 1136271 - Make user profile page visible to anyone for easier sharing
Diffstat (limited to 'extensions/BMO')
-rw-r--r--extensions/BMO/template/en/default/pages/group_members.html.tmpl2
-rw-r--r--extensions/BMO/web/js/edituser_menu.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/extensions/BMO/template/en/default/pages/group_members.html.tmpl b/extensions/BMO/template/en/default/pages/group_members.html.tmpl
index ec2cb2e46..1c593c07e 100644
--- a/extensions/BMO/template/en/default/pages/group_members.html.tmpl
+++ b/extensions/BMO/template/en/default/pages/group_members.html.tmpl
@@ -82,7 +82,7 @@
<a href="editusers.cgi?action=edit&amp;userid=[% member.id FILTER none %]"
target="_blank">
[% ELSE %]
- <a href="user_profile?login=[% member.login FILTER uri %]"
+ <a href="user_profile?user_id=[% member.id FILTER none %]"
target="_blank">
[% END %]
<span [% 'class="bz_inactive"' UNLESS member.is_enabled %]>
diff --git a/extensions/BMO/web/js/edituser_menu.js b/extensions/BMO/web/js/edituser_menu.js
index 7008a2b84..a300f5c24 100644
--- a/extensions/BMO/web/js/edituser_menu.js
+++ b/extensions/BMO/web/js/edituser_menu.js
@@ -10,7 +10,7 @@ function show_usermenu(id, email, show_edit) {
{
name: "Profile",
callback: function () {
- var href = "user_profile?login=" + encodeURIComponent(email);
+ var href = "user_profile?user_id=" + id;
window.open(href, "_blank");
}
},