r89235 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r89234‎ | r89235 | r89236 >
Date:22:49, 31 May 2011
Author:rfaulk
Status:deferred
Tags:
Comment:
adjustment of banner metric indices for 'report_banner_metrics_minutely' query
Modified paths:
  • /trunk/fundraiser-statistics/fundraiser-scripts/classes/QueryData.py (modified) (history)

Diff [purge]

Index: trunk/fundraiser-statistics/fundraiser-scripts/classes/QueryData.py
@@ -393,13 +393,13 @@
394394 if metric_name == 'imp':
395395 return 2
396396 elif metric_name == 'donations':
397 - return 5
 397+ return 4
398398 elif metric_name == 'amount50':
399 - return 7
 399+ return 6
400400 elif metric_name == 'don_per_imp':
 401+ return 8
 402+ elif metric_name == 'amt50_per_imp':
401403 return 10
402 - elif metric_name == 'amt50_per_imp':
403 - return 12
404404 else:
405405 return -1
406406 elif query_name == 'report_campaign_metrics_minutely':

Status & tagging log