? handler_field_comment_right_link.patch
? handler_field_comment_right_link.patfch
? views_style_table_active_sort_class.patch
Index: theme/theme.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/views/theme/theme.inc,v
retrieving revision 1.70
diff -u -p -r1.70 theme.inc
--- theme/theme.inc	6 Feb 2009 21:13:04 -0000	1.70
+++ theme/theme.inc	12 Feb 2009 15:41:42 -0000
@@ -320,14 +320,15 @@ function template_preprocess_views_view_
         }
 
         $title = t('sort by @s', array('@s' => $label));
-        if ($active == $field) {
-          $label .= theme('tablesort_indicator', $initial);
-        }
         $link_options = array(
           'html' => true,
           'attributes' => array('title' => $title),
           'query' => 'order=' . urlencode($field) . '&sort=' . $initial . $query,
         );
+        if ($active == $field) {
+          $label .= theme('tablesort_indicator', $initial);
+          $link_options['attributes']['class'] = 'active-sort';
+        }
         $vars['header'][$field] = l($label, $_GET['q'], $link_options);
       }
     }
