r42516 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r42515‎ | r42516 | r42517 >
Date:23:22, 24 October 2008
Author:straussd
Status:old
Tags:
Comment:
Fix contact ID
Modified paths:
  • /civicrm/trunk/sites/all/bin/public_reporting/synchronize.sql (modified) (history)

Diff [purge]

Index: civicrm/trunk/sites/all/bin/public_reporting/synchronize.sql
@@ -2,7 +2,7 @@
33 DELETE FROM public_reporting;
44 INSERT INTO public_reporting (contribution_id, contact_id, name, converted_amount, original_currency,
55 original_amount, note, received)
6 -SELECT cn.id, cn.id, IF(ct.do_not_trade, NULL, ct.display_name), cn.total_amount,
 6+SELECT cn.id, ct.id, IF(ct.do_not_trade, NULL, ct.display_name), cn.total_amount,
77 SUBSTRING(cn.source, 1, 3), CONVERT(SUBSTRING(cn.source, 5), DECIMAL(20,2)), cn.note, UNIX_TIMESTAMP(cn.receive_date)
88 FROM civicrm_contribution cn
99 INNER JOIN civicrm_contact ct ON cn.contact_id = ct.id

Status & tagging log