Index: views/uc_views_handler_field_money_amount.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/uc_views/views/Attic/uc_views_handler_field_money_amount.inc,v
retrieving revision 1.1.2.2
diff -u -p -r1.1.2.2 uc_views_handler_field_money_amount.inc
--- views/uc_views_handler_field_money_amount.inc	3 Dec 2009 13:22:49 -0000	1.1.2.2
+++ views/uc_views_handler_field_money_amount.inc	7 Jan 2010 22:50:31 -0000
@@ -15,7 +15,18 @@ class uc_views_handler_field_money_amoun
 
     $options['revision'] = 'themed-original';
   }
-
+  /**
+   * Called to add the field to a query.
+   */
+  function query() {
+    $this->ensure_my_table();
+    // Just get the field for an order.
+    if ($this->table == 'uc_orders') {
+      // Add the field.
+      $this->field_alias = $this->query->add_field($this->table_alias, $this->real_field);
+    }
+    $this->add_additional_fields();
+  }
   function render($values) {
     if ($this->options['format'] == 'numeric') {
       return parent::render($values);
