Index: userpoints/userpoints.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/userpoints/userpoints.module,v
retrieving revision 1.67.2.7
diff -u -p -r1.67.2.7 userpoints.module
--- userpoints/userpoints.module	5 May 2008 19:03:46 -0000	1.67.2.7
+++ userpoints/userpoints.module	17 Sep 2008 21:27:36 -0000
@@ -1793,3 +1793,12 @@ function theme_userpoints_list_my_userpo

   return $output;
 }
+
+/**
+ *  Implement hook_views_api().
+ */
+function userpoints_views_api() {
+  return array(
+    'api' => 2.0,
+  );
+}
Index: userpoints/userpoints.views.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/userpoints/userpoints.views.inc,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 userpoints.views.inc
--- userpoints/userpoints.views.inc	5 Aug 2008 02:40:21 -0000	1.1.2.1
+++ userpoints/userpoints.views.inc	17 Sep 2008 21:27:36 -0000
@@ -13,6 +13,7 @@ function userpoints_views_data() {
   // ----------------------------------------------------------------
   // userpoints table

+  // Describe the userpoints table.
   // Define the base group of this table. Fields that don't
   // have a group defined will go into this field by default.
   $data['userpoints']['table']['group']  = t('Userpoints');
@@ -40,17 +41,18 @@ function userpoints_views_data() {
     ),
   );

-  // points
+  // Describe the points column of the userpoints table.
   $data['userpoints']['points'] = array(
     'title' => t('Points'),
     'help' => t("A User's current points."), // The help that appears on the UI,
     'field' => array(
-      'handler' => 'views_handler_field',
+      'handler' => 'views_handler_field_numeric',
       'click sortable' => TRUE,
     ),
     'argument' => array(
       'handler' => 'views_handler_argument_numeric',
-//       'name field' => 'name', // display this field in the summary
+      'numeric' => TRUE,
+      'name field' => 'points', // display this field in the summary
     ),
     'filter' => array(
       'handler' => 'views_handler_filter_numeric',
