mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-14 12:30:49 +08:00
searchbox add size+seeders+leechers+times_completed+added
This commit is contained in:
@@ -95,9 +95,8 @@ class Test extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$uid = "2,3,4";
|
||||
$uidArr = preg_split('/[\s,]+/', $uid);
|
||||
dd($uidArr);
|
||||
$rep = new WorkRepository();
|
||||
$rep->settleRole(2, null, true);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -67,6 +67,7 @@ class TorrentOperationLogResource extends Resource
|
||||
->label(__('label.created_at'))
|
||||
,
|
||||
])
|
||||
->defaultSort('id', 'desc')
|
||||
->filters([
|
||||
Tables\Filters\Filter::make('uid')
|
||||
->form([
|
||||
|
||||
@@ -567,10 +567,7 @@ class User extends Authenticatable implements FilamentUser, HasName
|
||||
|
||||
public function acceptNotification($name): bool
|
||||
{
|
||||
if (!isset($this->original['notifs'])) {
|
||||
throw new \RuntimeException("Not fetch field: notifs");
|
||||
}
|
||||
return str_contains($this->notifs, "[{$name}]");
|
||||
return is_null($this->original['notifs']) || str_contains($this->notifs, "[{$name}]");
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -39,6 +39,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
Filament::registerNavigationGroups([
|
||||
'User',
|
||||
'Torrent',
|
||||
'Role & Permission',
|
||||
'Other',
|
||||
'Section',
|
||||
'System',
|
||||
|
||||
Reference in New Issue
Block a user