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

Unified Diff: appengine/swarming/elements/res/js/common.js

Issue 2269643002: Extract shared filters and aliasing code (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Patch Set: Address nit Created 4 years, 4 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 | « appengine/swarming/elements/res/js/alias.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/elements/res/js/common.js
diff --git a/appengine/swarming/elements/res/js/common.js b/appengine/swarming/elements/res/js/common.js
index e0da135d8873721d1ae719b6e0d25c92ba5515c0..f0639e6f525523c2cad3df582871e665e0b824c8 100644
--- a/appengine/swarming/elements/res/js/common.js
+++ b/appengine/swarming/elements/res/js/common.js
@@ -47,7 +47,7 @@ this.swarming = this.swarming || function() {
if (!isNaN(ns)) {
return ns;
}
- return a.localeCompare(b);
+ return String(a).localeCompare(b);
};
return swarming;
« no previous file with comments | « appengine/swarming/elements/res/js/alias.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698