mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-07-07 05:31:25 -07:00
parent
40e28930a4
commit
b55d4b1733
10 changed files with 86 additions and 7 deletions
|
@ -1383,8 +1383,16 @@ window.qBittorrent.DynamicTable = (function() {
|
|||
return false;
|
||||
break; // do nothing
|
||||
default:
|
||||
if (categoryHashInt !== genHash(row['full_data'].category))
|
||||
return false;
|
||||
if (!useSubcategories) {
|
||||
if (categoryHashInt !== genHash(row['full_data'].category))
|
||||
return false;
|
||||
}
|
||||
else {
|
||||
const selectedCategoryName = category_list[categoryHash].name + "/";
|
||||
const torrentCategoryName = row['full_data'].category + "/";
|
||||
if (!torrentCategoryName.startsWith(selectedCategoryName))
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue