mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
filter torrent_list support search
This commit is contained in:
@@ -300,9 +300,8 @@ class Torrent extends NexusModel
|
||||
return $result;
|
||||
}
|
||||
|
||||
public function getHrAttribute(): string
|
||||
public function getHrRealAttribute(): string
|
||||
{
|
||||
// $hrMode = Setting::get('hr.mode');
|
||||
$searchBoxId = $this->basic_category->mode ?? 0;
|
||||
if ($searchBoxId == 0) {
|
||||
do_log(sprintf('[INVALID_CATEGORY], Torrent: %s, category: %s invalid', $this->id, $this->category), 'error');
|
||||
|
||||
Reference in New Issue
Block a user