Skip to content

Commit

Permalink
fix application-only field 'merchandise' being exported as part of pr…
Browse files Browse the repository at this point in the history
…ofile (#31)
  • Loading branch information
Fenrikur authored Aug 26, 2023
1 parent 4e2bdf0 commit 96475d1
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 @@ -350,7 +350,7 @@ public static function getAllApplicationsForAppExport() {
'applications.id AS Reg No.',
'users.name AS Nick',
'display_name AS Display Name',
'merchandise AS Merchandise',
DB::raw("'' as 'Merchandise'"),
DB::raw("CASE WHEN attends_thu = 1 THEN 'X' ELSE '' END AS 'Attends Thu'"),
DB::raw("CASE WHEN attends_fri = 1 THEN 'X' ELSE '' END AS 'Attends Fri'"),
DB::raw("CASE WHEN attends_sat = 1 THEN 'X' ELSE '' END AS 'Attends Sat'"),
Expand Down

0 comments on commit 96475d1

Please sign in to comment.