Bug 1536547 add link under poked bugs count#1537
Bug 1536547 add link under poked bugs count#1537aquaruiz wants to merge 2 commits intomozilla-bteam:masterfrom
Conversation
| <td class="numeric"> | ||
| [% IF user.id %] | ||
| <a href="[% basepath FILTER none %]buglist.cgi?query_format=advanced&emailtype1=exact&emailqa_contact1=1&emailassigned_to1=1&emaillongdesc1=1&emailbug_mentor1=1&emailreporter1=1&email1=[% target.login FILTER uri %]" | ||
| target="_blank"> |
There was a problem hiding this comment.
Usually we don't open links in new tabs/windows since the user can always right- or control-click.
dklawren
left a comment
There was a problem hiding this comment.
The query string is incorrect for the type of data that 'Bugs poked' represents. The bugs poked count is the number if bugs that the user has made a change or commented on and is not necessarily a bug they are assigned to, reporter, or qa contact for. This is the query used to get the bugs poked count.
SELECT COUNT(*) FROM (
SELECT bugs_activity.bug_id
FROM bugs_activity
WHERE who = ?
GROUP BY bugs_activity.bug_id
UNION
SELECT longdescs.bug_id
FROM longdescs
WHERE who = ?
GROUP BY longdescs.bug_id
) temp
Probably needs to be more like this:
https://bugzilla.mozilla.org/buglist.cgi?query_format=advanced&f2=commenter&v1=[% target.login FILTER uri %]&o2=equals&f1=anything&j_top=OR&v2=[% target.login FILTER uri %]&o1=changedby
Sorry for the confusion. The URL I posted as an example comes from the Advanced Search page and is used for finding existing bugs in the system. The screenshot you posted is from a users email preferences where a user can customize what kind of notifications they get via email. If you go to https://bugzilla.mozilla.org/query.cgi and look at the bottom you should see a section at the bottom where the special search terms can be created: If you click this link you should see the values filled in that I suggest: |


As an Outreachy applicant, I fixed bug 1536547 - The counter for "Bugs Poked" in User Profile is made a link. I did the query string according bugzilla advanced search form - option search by authors.