mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 15:35:56 +00:00
label prefs: add search
This commit is contained in:
7
prefs.js
7
prefs.js
@@ -1247,8 +1247,13 @@ function updateLabelList(sort_key) {
|
||||
return
|
||||
}
|
||||
|
||||
var label_search = document.getElementById("label_search");
|
||||
var search = "";
|
||||
if (label_search) { search = label_search.value; }
|
||||
|
||||
xmlhttp.open("GET", "backend.php?op=pref-labels&sort=" +
|
||||
param_escape(sort_key), true);
|
||||
param_escape(sort_key) +
|
||||
"&search=" + param_escape(search), true);
|
||||
xmlhttp.onreadystatechange=labellist_callback;
|
||||
xmlhttp.send(null);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user