File tree Expand file tree Collapse file tree
server/frontend/src/components/Buckets Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5151 </div >
5252 </td >
5353 </tr >
54+ <tr >
55+ <td >Known Bugs</td >
56+ <td >
57+ <a
58+ class =" btn btn-default"
59+ :href =" knownBugsUrl(bucket.domain)"
60+ target =" _blank"
61+ >
62+ Show open bugs for this domain
63+ </a >
64+ </td >
65+ </tr >
5466 <tr >
5567 <td >Reports in this bucket</td >
5668 <td >
@@ -394,6 +406,35 @@ export default {
394406 this .$router .push ({ path: this .$route .path , hash: " " });
395407 }
396408 },
409+ knownBugsUrl (domain ) {
410+ const searchParams = new URLSearchParams ([
411+ [" bug_file_loc_type" , " allwordssubstr" ],
412+ [" bug_file_loc" , domain],
413+ [" query_format" , " advanced" ],
414+ [" resolution" , " ---" ],
415+ [" j_top" , " OR" ],
416+ [" f1" , " OP" ],
417+ [" o2" , " equals" ],
418+ [" f2" , " product" ],
419+ [" v2" , " Web Compatibility" ],
420+ [" o3" , " equals" ],
421+ [" f3" , " component" ],
422+ [" v3" , " Site Reports" ],
423+ [" f4" , " CP" ],
424+ [" f5" , " OP" ],
425+ [" o6" , " equals" ],
426+ [" f6" , " product" ],
427+ [" v6" , " Web Compatibility" ],
428+ [" o7" , " equals" ],
429+ [" f7" , " component" ],
430+ [" v7" , " Privacy: Site Reports" ],
431+ [" f8" , " CP" ],
432+ ]);
433+
434+ const url = new URL (" https://bugzilla.mozilla.org/buglist.cgi" );
435+ url .search = searchParams .toString ();
436+ return url .toString ();
437+ },
397438 },
398439 watch: {
399440 currentPage () {
You can’t perform that action at this time.
0 commit comments