fix user factory, fix loadingtimes of users table
This commit is contained in:
parent
1d08c22d1d
commit
b8516c423e
2 changed files with 1 additions and 2 deletions
|
@ -22,7 +22,6 @@ class UserFactory extends Factory
|
||||||
'email_verified_at' => $this->faker->dateTimeBetween('-30 days', now()),
|
'email_verified_at' => $this->faker->dateTimeBetween('-30 days', now()),
|
||||||
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
|
'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password
|
||||||
'remember_token' => Str::random(10),
|
'remember_token' => Str::random(10),
|
||||||
'email_verified' => true,
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,7 +77,7 @@
|
||||||
url: '//cdn.datatables.net/plug-ins/1.11.3/i18n/{{config("SETTINGS::LOCALE:DATATABLES")}}.json'
|
url: '//cdn.datatables.net/plug-ins/1.11.3/i18n/{{config("SETTINGS::LOCALE:DATATABLES")}}.json'
|
||||||
},
|
},
|
||||||
processing: true,
|
processing: true,
|
||||||
serverSide: false, //increases loading times too much? change back to "true" if it does
|
serverSide: true, //why was this set to false before? increased loadingtimes by 10 seconds
|
||||||
stateSave: true,
|
stateSave: true,
|
||||||
ajax: "{{route('admin.users.datatable')}}",
|
ajax: "{{route('admin.users.datatable')}}",
|
||||||
order: [[ 11, "asc" ]],
|
order: [[ 11, "asc" ]],
|
||||||
|
|
Loading…
Reference in a new issue