mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-26 20:13:07 +02:00
UI: fix searchCategory dropdown
This commit is contained in:
@@ -735,9 +735,9 @@ function showSearch(selectedIndexer, query) {
|
|||||||
}
|
}
|
||||||
var select = $('#searchCategory');
|
var select = $('#searchCategory');
|
||||||
select.html("<option value=''>-- All --</option>");
|
select.html("<option value=''>-- All --</option>");
|
||||||
$.each(cats, function (value, key) {
|
$.each(cats, function (index, value) {
|
||||||
select.append($("<option></option>")
|
select.append($("<option></option>")
|
||||||
.attr("value", value).text(key + ' (' + value + ')'));
|
.attr("value", value["ID"]).text(value["ID"] + ' (' + value["Name"] + ')'));
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user