Skip to content

Commit

Permalink
fix name in transaction download
Browse files Browse the repository at this point in the history
  • Loading branch information
fgregg committed Apr 29, 2024
1 parent 2e437e8 commit 82cde5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion camp_fin/base_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ def transaction_query(self, entity_id=None, start_date=None, end_date=None):
base_query = """
SELECT
CASE WHEN transaction.redact THEN 'Redacted by donor request'
ELSE transaction.full_name
ELSE coalesce(transaction.full_name, transaction.company_name)
END as name,
CASE WHEN transaction.redact THEN 'Redacted by donor request' ELSE (
transaction.address || ' ' || transaction.city || ', ' || transaction.state || ' ' || transaction.zipcode
Expand Down

0 comments on commit 82cde5f

Please sign in to comment.