1
0
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:
Andrew Dolgov
2008-05-17 04:07:39 +01:00
parent caf1f12f04
commit 112d2aec27
3 changed files with 32 additions and 4 deletions

View File

@@ -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);
}