diff --git a/app/Models/Mod.php b/app/Models/Mod.php index ab77648..a7d3cf7 100644 --- a/app/Models/Mod.php +++ b/app/Models/Mod.php @@ -17,7 +17,7 @@ use Laravel\Scout\Searchable; */ class Mod extends Model { - use HasFactory, SoftDeletes, Searchable; + use HasFactory, Searchable, SoftDeletes; protected $fillable = [ 'user_id', diff --git a/app/Models/User.php b/app/Models/User.php index 3342497..cb51c9d 100644 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -18,8 +18,8 @@ class User extends Authenticatable implements MustVerifyEmail use HasFactory; use HasProfilePhoto; use Notifiable; - use TwoFactorAuthenticatable; use Searchable; + use TwoFactorAuthenticatable; protected $fillable = [ 'name', diff --git a/config/scout.php b/config/scout.php index c8f11ea..65e4d12 100644 --- a/config/scout.php +++ b/config/scout.php @@ -138,9 +138,9 @@ return [ 'key' => env('MEILISEARCH_KEY'), 'index-settings' => [ Mod::class => [ - 'filterableAttributes'=> ['featured'], + 'filterableAttributes' => ['featured'], 'sortableAttributes' => ['created_at', 'updated_at'], - ] + ], ], ],