Fix profile indicator URL
The URL now includes a forum filter in order to search in the current
forum.
Change-Id: Ie70f1e2df0400b799c2f4e44ed46e1d459a3fcba
diff --git a/src/injections/console_profileindicator_inject.js b/src/injections/console_profileindicator_inject.js
index 29ff70d..0a44137 100644
--- a/src/injections/console_profileindicator_inject.js
+++ b/src/injections/console_profileindicator_inject.js
@@ -110,7 +110,7 @@
var forumId = forumUrlSplit[1].split('/')[0];
var query = '(replier:"' + escapedUsername + '" | creator:"' +
escapedUsername + '") ' + FILTER_ALL_LANGUAGES;
- var encodedQuery = encodeURIComponent(query);
+ var encodedQuery = encodeURIComponent(query + ' forum:' + forumId);
var urlpart = encodeURIComponent('query=' + encodedQuery);
var dotLink = document.createElement('a');
dotLink.href =