1
0
Fork 0
mirror of https://github.com/Jackett/Jackett synced 2025-01-02 13:16:16 +00:00

UI: fix searchCategory dropdown

This commit is contained in:
kaso17 2017-08-11 18:55:47 +02:00
parent 33a7db5ec4
commit 1332b49370

View file

@ -735,9 +735,9 @@ function showSearch(selectedIndexer, query) {
}
var select = $('#searchCategory');
select.html("<option value=''>-- All --</option>");
$.each(cats, function (value, key) {
$.each(cats, function (index, value) {
select.append($("<option></option>")
.attr("value", value).text(key + ' (' + value + ')'));
.attr("value", value["ID"]).text(value["ID"] + ' (' + value["Name"] + ')'));
});
};