#961148 by steffenr: Add a taxonomy term weight filter
authorDaniel Wehner
Tue, 13 Dec 2011 23:45:00 +0000 (00:45 +0100)
committerDaniel Wehner
Tue, 13 Dec 2011 23:45:00 +0000 (00:45 +0100)
modules/taxonomy.views.inc

index 5dcbc18..c663eac 100644 (file)
@@ -150,6 +150,10 @@ function taxonomy_views_data() {
       'hierarchy table' => 'taxonomy_term_hierarchy',
       'numeric' => TRUE,
     ),
+    'filter' => array(
+      'handler' => 'views_handler_filter_numeric',
+      'help' => t('Taxonomy term weight.'),
+    ),
   );
 
   $data['taxonomy_term_data']['tid_representative'] = array(