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

Unified Diff: appengine/swarming/elements/res/imp/tasklist/task-filters.html

Issue 2359243004: Minor improvements of task list (Closed) Base URL: git@github.com:luci/luci-py@task-list
Patch Set: fix-merge 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/tasklist/task-filters.html
diff --git a/appengine/swarming/elements/res/imp/tasklist/task-filters.html b/appengine/swarming/elements/res/imp/tasklist/task-filters.html
index a2eaec58b1dc668fd1e75434f274948bda2df0a0..be4742fdc55c58f869cb3598ba68f109be2ce541 100644
--- a/appengine/swarming/elements/res/imp/tasklist/task-filters.html
+++ b/appengine/swarming/elements/res/imp/tasklist/task-filters.html
@@ -229,6 +229,11 @@
if (col === "state") {
params["state"] = [rest];
} else {
+ if (col === "user" && rest === "none") {
+ // empty string means no user. We use "none" in the UI because
+ // it is more user friendly.
+ rest = "";
+ }
tags.push(col + this.FILTER_SEP + swarming.alias.unapply(rest))
}
}.bind(this));

Powered by Google App Engine
This is Rietveld 408576698