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

Unified Diff: appengine/swarming/elements/res/imp/botlist/bot-list-summary.html

Issue 2359993002: Medium sized improvements to bot-list and task-list (Closed) Base URL: git@github.com:luci/luci-py@master
Patch Set: condense loop Created 4 years, 3 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
Index: appengine/swarming/elements/res/imp/botlist/bot-list-summary.html
diff --git a/appengine/swarming/elements/res/imp/botlist/bot-list-summary.html b/appengine/swarming/elements/res/imp/botlist/bot-list-summary.html
index 967fe4349d4acd297fab0f399b6237204fa70290..0781d35ca5654a7241fcaf1306f6dbdc943cfa31 100644
--- a/appengine/swarming/elements/res/imp/botlist/bot-list-summary.html
+++ b/appengine/swarming/elements/res/imp/botlist/bot-list-summary.html
@@ -189,18 +189,18 @@
if (preserveOthers) {
var fstr = encodeURIComponent(this._getFilterStr(filter));
if (window.location.href.indexOf(fstr) === -1) {
- return window.location.href + "&filters=" + fstr;
+ return window.location.href + "&f=" + fstr;
}
// The filter is already on the list.
return undefined;
}
var params = {
- sort: [this.sort],
- columns: this.columns,
- verbose: [this.verbose],
+ s: [this.sort],
+ c: this.columns,
+ v: [this.verbose],
}
if (filter) {
- params["filters"] = [this._getFilterStr(filter)];
+ params["f"] = [this._getFilterStr(filter)];
}
return window.location.href.split('?')[0] + '?' + sk.query.fromParamSet(params);

Powered by Google App Engine
This is Rietveld 408576698