]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1497437 - The crash graph should display Exact Match results by default
authorKohei Yoshino <kohei.yoshino@gmail.com>
Tue, 9 Oct 2018 15:35:03 +0000 (11:35 -0400)
committerDylan William Hardison <dylan@hardison.net>
Tue, 9 Oct 2018 15:35:03 +0000 (11:35 -0400)
public/metricsgraphics/socorro-lens.html

index 19c75253b1590c47929bf8f4c562ac5ae93759e6..f0c226361b01bccdb82b49d8dcb99bab6c167e53 100644 (file)
@@ -31,8 +31,8 @@
         <option value='esr' title='Show crashes on ESR only'>esr</option>
       </select>
       <select name='match' id='match' title='Select whether to match signatures exactly or similarly'>
-        <option value='exact' title='Match signatures exactly'>Exact Match</option>
-        <option value='like' title='Match signatures similarly' selected=selected>Like Match</option>
+        <option value='exact' title='Match signatures exactly' selected>Exact Match</option>
+        <option value='like' title='Match signatures similarly'>Like Match</option>
       </select>
     </div>
     <div style="width:300px; height:75px; color:red; text-align:center; visibility:hidden;" id='warn'></div>
         });
       }
 
-      function loadGraph(search, match) {
+      function loadGraph(search, match = 'exact') {
         // Get all signatures from the Bugzilla page
         var signatures = getSignaturesFromURL(search, match);
         // Initialize chart data