Skip to content

Commit

Permalink
fix(export): assistants without profile were missing from csv
Browse files Browse the repository at this point in the history
  • Loading branch information
Fenrikur committed Apr 11, 2024
1 parent c913ef5 commit 78a6281
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ public static function getAllApplicationsForExport(): \Illuminate\Support\Collec
->leftJoin('users', 'user_id', '=', 'users.id')
->leftJoin('table_types AS t1', 'table_type_requested', '=', 't1.id')
->leftJoin('table_types AS t2', 'table_type_assigned', '=', 't2.id')
->joinSub($keywords, 'profile_keywords', function (JoinClause $join) {
->leftJoinSub($keywords, 'profile_keywords', function (JoinClause $join) {
$join->on('profiles.id', '=', 'profile_keywords.profile_id');
})
->select(
Expand Down

0 comments on commit 78a6281

Please sign in to comment.