Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2557)

Unified Diff: gm/rebaseline_server/static/loader.js

Issue 235993002: rebaseline_server: fix sorting by perceptual diff column (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gm/rebaseline_server/static/view.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/rebaseline_server/static/loader.js
diff --git a/gm/rebaseline_server/static/loader.js b/gm/rebaseline_server/static/loader.js
index 562426d4068a98872c883a8d02364293d9ffdf86..dc33bd0a93a971b01cf303e86627953ee8d0589f 100644
--- a/gm/rebaseline_server/static/loader.js
+++ b/gm/rebaseline_server/static/loader.js
@@ -102,7 +102,7 @@ Loader.controller(
$scope.imagePairs = data[constants.KEY__IMAGEPAIRS];
$scope.imageSets = data[constants.KEY__IMAGESETS];
$scope.sortColumnSubdict = constants.KEY__DIFFERENCE_DATA;
- $scope.sortColumnKey = constants.KEY__DIFFERENCE_DATA__WEIGHTED_DIFF;
+ $scope.sortColumnKey = constants.KEY__DIFFERENCE_DATA__PERCEPTUAL_DIFF;
$scope.showSubmitAdvancedSettings = false;
$scope.submitAdvancedSettings = {};
@@ -411,7 +411,7 @@ Loader.controller(
($scope.sortColumnKey ==
constants.KEY__DIFFERENCE_DATA__PERCENT_DIFF_PIXELS) ||
($scope.sortColumnKey ==
- constants.KEY__DIFFERENCE_DATA__WEIGHTED_DIFF));
+ constants.KEY__DIFFERENCE_DATA__PERCEPTUAL_DIFF));
$scope.filteredImagePairs =
$filter("orderBy")(
« no previous file with comments | « no previous file | gm/rebaseline_server/static/view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698