コミット
59ae579a5b
@ -549,7 +549,7 @@ class MeetingsController extends Controller {
|
||||
$child_select = ['image'];
|
||||
|
||||
// 取得に成功
|
||||
if (null === ($list = Meeting::select($meeting_select)->where('father_id', (int)$r->father_id)->where('title', 'LIKE', '%'.$r->keyword.'%')->orWhere('text', 'LIKE', '%'.$r->keyword.'%')->orderBy('updated_at', 'desc')->get())) {
|
||||
if (null === ($list = Meeting::select($meeting_select)->where('title', 'LIKE', '%'.$r->keyword.'%')->orWhere('text', 'LIKE', '%'.$r->keyword.'%')->where('father_id', (int)$r->father_id)->orderBy('updated_at', 'desc')->get())) {
|
||||
$list = [];
|
||||
}
|
||||
|
||||
@ -596,7 +596,7 @@ class MeetingsController extends Controller {
|
||||
$child_select = ['image'];
|
||||
|
||||
// 取得に成功
|
||||
if (null === ($list = Meeting::select($meeting_select)->where('father_id', (int)$r->father_id)->where('title', 'LIKE', '%'.$r->keyword.'%')->orWhere('text', 'LIKE', '%'.$r->keyword.'%')->orderBy('updated_at', 'desc')->get())) {
|
||||
if (null === ($list = Meeting::select($meeting_select)->where('title', 'LIKE', '%'.$r->keyword.'%')->orWhere('text', 'LIKE', '%'.$r->keyword.'%')->where('father_id', (int)$r->father_id)->orderBy('updated_at', 'desc')->get())) {
|
||||
$list = [];
|
||||
}
|
||||
|
||||
|
@ -4,38 +4,24 @@ namespace Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
|
||||
class DatabaseSeeder extends Seeder
|
||||
{
|
||||
class DatabaseSeeder extends Seeder {
|
||||
/**
|
||||
* Seed the application's database.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
$this->call
|
||||
(AdminsTableSeeder::class);
|
||||
$this->call
|
||||
(FathersTableSeeder::class);
|
||||
$this->call
|
||||
(EmailActivationsTableSeeder::class);
|
||||
$this->call
|
||||
(ChildrenTableSeeder::class);
|
||||
$this->call
|
||||
(TelActivationsTableSeeder::class);
|
||||
$this->call
|
||||
(FatherRelationsTableSeeder::class);
|
||||
$this->call
|
||||
(MeetingsTableSeeder::class);
|
||||
$this->call
|
||||
(MeetingImagesTableSeeder::class);
|
||||
$this->call
|
||||
(MeetingApprovalsSeeder::class);
|
||||
$this->call
|
||||
(LoginLimitsSeeder::class);
|
||||
$this->call
|
||||
(ContactsSeeder::class);
|
||||
$this->call
|
||||
(SmssSeeder::class);
|
||||
public function run () {
|
||||
$this->call(AdminsTableSeeder::class);
|
||||
$this->call(FathersTableSeeder::class);
|
||||
$this->call(EmailActivationsTableSeeder::class);
|
||||
$this->call(ChildrenTableSeeder::class);
|
||||
$this->call(TelActivationsTableSeeder::class);
|
||||
$this->call(FatherRelationsTableSeeder::class);
|
||||
$this->call(MeetingsTableSeeder::class);
|
||||
$this->call(MeetingImagesTableSeeder::class);
|
||||
$this->call(MeetingApprovalsSeeder::class);
|
||||
$this->call(LoginLimitsSeeder::class);
|
||||
$this->call(ContactsSeeder::class);
|
||||
$this->call(SmssSeeder::class);
|
||||
}
|
||||
}
|
||||
|
新しいイシューから参照
ユーザーをブロックする