Skip to content

Commit

Permalink
Small fix properly blind production date
Browse files Browse the repository at this point in the history
  • Loading branch information
leandroradusky committed Apr 23, 2024
1 parent e4b2505 commit 181c244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/boxes/inventory.csv.csvbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ csv << [
sample.virus_lineage,
sample.replicate,
sample.concentration,
sample.blinded_attribute(:date_produced) { sample.date_produced.to_date },
params[:unblind] ? sample.date_produced.to_date : sample.blinded_attribute(:date_produced) { sample.date_produced.to_date },
sample.inactivation_method,
sample.media,
]
Expand Down

0 comments on commit 181c244

Please sign in to comment.