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:
parent
33a7db5ec4
commit
1332b49370
1 changed files with 2 additions and 2 deletions
|
@ -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"] + ')'));
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue