filter torrent_list support search

This commit is contained in:
xiaomlove
2022-11-10 01:52:41 +08:00
parent 6479f0a799
commit c54993ee7d
3 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -1182,7 +1182,7 @@ if ($count) {
$rows[] = $row;
}
}
$rows = apply_filter('torrent_list', $rows, $page, $sectiontype);
$rows = apply_filter('torrent_list', $rows, $page, $sectiontype, $_GET['search'] ?? '');
print($pagertop);
if ($sectiontype == $browsecatmode)
torrenttable($rows, "torrents", $sectiontype);