Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/Console/Commands/Contact/ExportGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function handle(): int
}

$contacts = Contact::selectRaw( 'c.name AS name, c.position as position, c.email AS email, c.phone AS phone, c.mobile AS mobile,
c.facilityaccess AS facilityaccess, c.mayauthorize AS mayauthorize, c.notes as notes' )
c.notes as notes' )
->from( 'contact AS c' )
->leftJoin( 'contact_to_group AS ctg', 'ctg.contact_id', 'c.id' )
->leftJoin( 'contact_group AS cg', 'cg.id', 'ctg.contact_group_id' )
Expand Down Expand Up @@ -121,4 +121,4 @@ public function handle(): int
echo "\n";
return 0;
}
}
}